.NET FAQs Unleashed!
 
    
    

What is a ScriptManager?

Every Ajax enabled page in ASP.NET that makes use of the Ajax Library needs to have a boss or a manager that takes care of the internal Ajaxification process. All this is controlled by the ScriptManager control. Every page should have not more than one ScriptManager control. It takes care of the Javascript functionalities and the partial postbacks made by the web page by taking care of the XmlHttpRequest object from behind the scenes.

The ScriptManager is a class as well as a control. This was introduced in ASP.NET 3.5, before which it had to be used in ASP.NET 2.0 through the Ajax Library for .NET.

If the EnablePartialPostback property of the ScriptManager is set to false, the web page exhibits a full page postback.

In the aspx code, the ScriptManager control acts as the bucket for the UpdatePanel control.

.NET Multiple Versions   Datapager Control   Running .NET in Visual Studio 2008   ASP.NET Merge Tool   ScriptManager   UpdatePanel Control   UpdateProgress Control   LINQ   ASP.NET 3.5 Features   Listview Control   ScriptManagerProxy   New Assemblies in ASP.NET 3.5  

More Interview Questions...