Skip to main content
A newer version of this page is available. .
Tab

ASPxScriptManager Class

A script manager component.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v19.2.dll

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