A newer version of this page is available. Switch to the current version.

ASPxWebControl.RegisterBaseScript(Page, Boolean) Method

Registers base scripts required to embed an ASPxWebControl control onto the specified page.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v18.2.dll


public static void RegisterBaseScript(
    Page page,
    bool registerMobileScript
Public Shared Sub RegisterBaseScript(
    page As Page,
    registerMobileScript As Boolean


Name Type Description
page Page

A Page object which specifies the page to which the current ASPxWebControl belongs.

registerMobileScript Boolean

true to register scripts for mobile devices; otherwise false.


This method is intended to solve the following problem. When the