WebWindow.RegisterClientScriptResource(Type, String) Method

Registers the client script resource with the WebWindow's page, using the specified resource name.

Namespace: DevExpress.ExpressApp.Web

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


public void RegisterClientScriptResource(
    Type type,
    string resourceName
Public Sub RegisterClientScriptResource(
    type As Type,
    resourceName As String


Type Name Description
Type type

The type of the client script resource to register.

String resourceName

A string containing the resource name to be registered.

When this method is called, the specified resource name and the accompanying type are stored in an intermediate collection. When the page's PreRender event occurs, the ClientScriptManager.RegisterClientScriptResource method is invoked for each resource name - type pair stored in the intermediate collection, for the Window's page.

See Also