Skip to main content

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>
     <bootstrap 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 a Control Is Initialized On The Client Side article for more information.

DevExpress configuration section