Skip to main content
Tab

ASPxScriptManager Class

A script manager component.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

public class ASPxScriptManager :
    ASPxResourceManagerBase

Remarks

The ASPxScriptManager allows you to manage DevExpress scripts on the page without DevExpress controls.

Use the ASPxScriptManager.Items collection to specify suites, whose suite-specific scripts should be attached. You can see the list of available suites in the Suite enumeration.

<dx:ASPxScriptManager ID="ASPxScriptManager1" runat="server">
     <Items>            
          <dx:ResourceScript Suite="Editors" />
          <dx:ResourceScript Suite="Grid" />
          <dx:ResourceScript Suite="NavigationAndLayout" />
     </Items>
</dx:ASPxScriptManager>

Depending on the configuration defined in the “resources” section of the Web.config file, the ASPxScriptManager component attaches the jQuery library and additional resources as well.

Note

A web page can contain only one ASPxScriptManager component. To determine whether a page contains the component, use the ASPxScriptManager.Active property.

See Also