This topic has not yet been rated - Rate this topic

HierarchicalDataBoundControl.GetRouteUrl Method

Gets the URL that corresponds to a set of route parameters, and optionally to a route name.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method GetRouteUrl(Object) Gets the URL that corresponds to a set of route parameters. (Inherited from Control.)
Public method GetRouteUrl(RouteValueDictionary) Gets the URL that corresponds to a set of route parameters. (Inherited from Control.)
Public method GetRouteUrl(String, Object) Gets the URL that corresponds to a set of route parameters and a route name. (Inherited from Control.)
Public method GetRouteUrl(String, RouteValueDictionary) Gets the URL that corresponds to a set of route parameters and a route name. (Inherited from Control.)
Top

This method is provided for coding convenience. It is equivalent to calling the RouteCollection.GetVirtualPath method.

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.