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

Defer Client Object Initialization

The allowClientObjectDeferredInitialization option enables the browser to load and execute included and startup scripts asynchronously when loading a page.

Declaration


<configuration>
   ...
   <devExpress>
     <settings allowClientObjectDeferredInitialization="true" />
   </devExpress>
   ...
 </configuration>

Note

To use the DevExpress Web.config section, register this section group beforehand.

A browser should execute external scripts when it encounters them while rendering a page. This can block page rendering and increase the page’s loading time. The allowClientObjectDeferredInitialization option reorganizes scripts so that they are loaded asynchronously. This allows the browser to render the page without delay.

This option is enabled by default.

Note

The browser initializes DevExpress ASP.NET components when the page is loaded. Refer to the How to ensure that controls are initialized on the client side KB article for more information.

DevExpress configuration section