Back to Devexpress

ASPxScriptManager Class

aspnet-devexpress-dot-web-f3fe1149.md

latest3.7 KB
Original Source

ASPxScriptManager Class

A script manager component.

Namespace : DevExpress.Web

Assembly : DevExpress.Web.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
public class ASPxScriptManager :
    ASPxResourceManagerBase
vb
Public Class ASPxScriptManager
    Inherits 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.

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

Implements

Show 14 items

IComponent

IDisposable

IParserAccessor

IDataBindingsAccessor

IControlBuilderAccessor

IControlDesignerAccessor

IExpressionsAccessor

IAttributeAccessor

IUrlResolutionService

INamingContainer

IPostBackDataHandler

IPostBackEventHandler

ICallbackEventHandler

IPropertiesOwner

Inheritance

Object Control WebControl ASPxWebControlBase ASPxWebControl ASPxWebComponent ASPxResourceManagerBase ASPxScriptManager

See Also

ASPxScriptManager Members

DevExpress.Web Namespace