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
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