combit List & Label 29 - .NET Help
combit.Reporting.Web.WebReportViewer Namespace / WebReportViewerConfig Class / RegisterRoutes Method
RouteTable of the application, usually the value of RouteTable.Routes.
Route prefix for the Web Report Viewer, Default is: 'WebReportViewer'.
Route name for the Web Report Viewer, Default is: 'WebReportViewer'.


In This Topic
    RegisterRoutes Method (WebReportViewerConfig)
    In This Topic
    Registers the routes that are required for the Web Report Viewer.
    Syntax
    'Declaration
     
    
    Public Shared Sub RegisterRoutes( _
       ByVal routes As RouteCollection, _
       Optional ByVal routePrefix As String, _
       Optional ByVal routeName As String _
    ) 
    public static void RegisterRoutes( 
       RouteCollection routes,
       string routePrefix,
       string routeName
    )
    public:
    static void RegisterRoutes( 
       RouteCollection^ routes,
       String^ routePrefix,
       String^ routeName
    ) 

    Parameters

    routes
    RouteTable of the application, usually the value of RouteTable.Routes.
    routePrefix
    Route prefix for the Web Report Viewer, Default is: 'WebReportViewer'.
    routeName
    Route name for the Web Report Viewer, Default is: 'WebReportViewer'.
    Requirements

    Platforms: Windows 10 (Version 21H2 - 23H2), Windows 11 (21H2 - 22H2), Windows Server 2016 - 2022
    .NET: .NET Framework 4.8, .NET 6, .NET 7, .NET 8

    See Also