combit List & Label 28 - .NET Help
combit.Reporting.Web Namespace / Html5ViewerConfig Class / RegisterRoutes Method
RouteTable of the application, usually the value of RouteTable.Routes.
routePrefix for the Html5Viewer, Default is: 'cmbtapi'.
routename for the Html5Viewer, Default is: 'ActionApi'.
Example


In This Topic
    RegisterRoutes Method (Html5ViewerConfig)
    In This Topic
    Registers the URLs that are required for the Html5Viewer.
    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
    routePrefix for the Html5Viewer, Default is: 'cmbtapi'.
    routeName
    routename for the Html5Viewer, Default is: 'ActionApi'.
    Example
    Html5ViewerConfig.RegisterRoutes(System.Web.Routing.RouteTable.Routes);
    Requirements

    Platforms: Windows 8.1, Windows 10 (Version 20H2 - 22H2), Windows 11 (21H2 - 22H2), Windows Server 2012 - 2022

    See Also