Thursday, January 3, 2008

What can I do with ScriptManager.LoadScriptsBeforeUI?

With ASP.NET AJAX you can have property called LoadScriptsBeforeUI. Oh, what is that…? Yes, it can’t do anything big. But worth to consider if you think about ASP.NET AJAX UI.

In our AJAX life you know some AJAX applications UI loads some fast but it takes few seconds to interact with client. On other hand some applications UI takes more times to load, but can interact with client as soon as it loads. So, with ASP.NET ASP.NET AJAX ScriptManager, you can choose what you want. It may be first load UI markup and then scripts or…

FAQ00003

If you set ScriptManager.LoadScriptsBeforeUI = True, then script load first and next UI markup. With this option UI will be handy when it loads.
If you set ScriptManager.LoadScriptsBeforeUI=False, then UI load first and next Script. With this, UI will load some fast but have to wait till script load.

FYI: LoadScriptsBeforeUI default value is TRUE.

Labels: ,

0 Comments:

Post a Comment

<< Home