Skip to main content
.NET Framework 4.5.2+
  • The page you are viewing does not exist in the .NET 6.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.v23.2.dll

NuGet Package: DevExpress.ExpressApp.Web

Declaration

public void RegisterClientScriptResource(
    Type type,
    string resourceName
)

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