The requested page is not available for the requested platform. You are viewing the content for Default platform.
All docs
V19.1
19.2 (EAP/Beta)
19.1
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

IViewUrlManager Interface

Declares methods used to manage URL routing.

Namespace: DevExpress.ExpressApp.Web

Assembly: DevExpress.ExpressApp.Web.v19.1.dll

Declaration

public interface IViewUrlManager
Public Interface IViewUrlManager

Remarks

This interface is implemented by the following classes:

  • ViewUrlManager - provides routes for user-friendly URL functionality in ASP.NET applications. With this format, URLs include the View's parameters as the path and query components, as shown below:

    .../Contact_ListView/
    .../Contact_DetailView/ContactId/?mode=Edit

    You can use the RegisterXafRoutes(RouteCollection) method to register additional or replace the default routes with yours.

    If no route is registered, URLs include the View's parameters as the query component.

  • ViewUrlHashManager - provides compatibility with routes used in ASP.NET applications created in v18.2 or earlier. With this format, URLs include View's parameters as the fragment component, as shown below:

    .../Default.aspx#ViewID=Contact_ListView
    .../Default.aspx#ViewID=Contact_DetailView&ObjectKey=ContactId&mode=Edit

Refer to the ASP.NET WebForms User-Friendly URLs for Views - v19.1 example to learn how to enable the user-friendly URL mechanism in your ASP.NET application.

See Also