The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
The page you are viewing does not exist in the .NET Standard 2.0+ platform documentation. This link will take you to the parent topic of the current section.
.NET Core 3.0+
The page you are viewing does not exist in the .NET Core 3.0+ platform documentation. This link will take you to the parent topic of the current section.

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.v19.2.dll

Declaration

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

Parameters

Name Type Description
type Type

The type of the client script resource to register.

resourceName String

A string containing the resource name to be registered.

Remarks

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