Skip to main content
.NET Framework 4.6.2+
  • The page you are viewing does not exist in the .NET 8.0+ platform documentation. This link will take you to the parent topic of the current section.

IViewUrlManager Interface

Declares methods used to manage URL routing.

Namespace: DevExpress.ExpressApp.Web

Assembly: DevExpress.ExpressApp.Web.v24.2.dll

NuGet Package: DevExpress.ExpressApp.Web

Declaration

public interface IViewUrlManager

The following members return IViewUrlManager objects:

Remarks

This interface is implemented by the following classes:

  • ViewUrlManager - provides routes for user-friendly URL functionality in ASP.NET Web Forms 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.

    Also, note that the user-friendly URL mechanism does not support composite keys. Implement a custom ViewUrlManager to support them.

  • ViewUrlHashManager - provides compatibility with routes used in ASP.NET Web Forms 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

See Also