What is the role of ScriptManager in Ajax?

InfoPath alternatives for form designing SharePoint

Here in this article we will discuss What is the role of ScriptManager in Ajax?
ScriptManager class is the heart of ASP.NET Ajax. ScriptManager is class and a control (both) in Ajax.
The ScriptManager class in ASP.NET manages Ajax Script Libraries, partial page rendering functionality and client proxy class generation for web applications and services. By saying client proxy class, this means an instance of the Ajax runtime is created on the browser.

This class is defined in the System.Web.Extensions.dll. You will find this DLL in your system’s Global Assembly Cache at C:\Windows\Assembly (For XP)

The ScriptManager control is actually an instance of the ScriptManager class that we put on a web page. The ScriptManager manages all the ASP.NET Ajax controls on a web page. Following tasks are taken care by the ScriptManager class:
1 – Managing all resources (all objects/controls) on a web page
2 – Managing partial page updates
3 – Download Ajax Script Library to the client.
4 – Interacting with UpdatePanel Control, UpdateProgress Control.
5 – Register script (using RegisterClientScriptBlock)
6 – Information whether Release OR Debug script is sent to the browser
7 – Providing access to Web service methods from the script by registering Web services with the ScriptManager control
8- Enable culture specific display of clientside script.
9 – Register server controls that implement IExtenderControl and IScriptControl interfaces.
ScriptManager class’ EnablePartialRendering property is true by default.

Similar SharePoint 2013 Tutorials


About Bijay Kumar

I am Bijay from Odisha, India. Currently working in my own venture TSInfo Technologies in Bangalore, India. I am Microsoft Office Servers and Services (SharePoint) MVP (5 times). I works in SharePoint 2016/2013/2010, SharePoint Online Office 365 etc. Check out My MVP Profile.. I also run popular SharePoint web site SharePointSky.com

View all posts by Bijay Kumar →

Leave a Reply