What is the role of ScriptManager in Ajax?

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.

New to Office 365 SharePoint Online? Get Office 365 Enterprise E3 Subscription & Try out all the features

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 of 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 client-side script.
9 – Register server controls that implement IExtenderControl and IScriptControl interfaces.
ScriptManager class’ EnablePartialRendering property is true by default.

Also, you can out my previous posts on:

-How to make date time picker read-only in InfoPath 2010?

– Step by step develop workflows using visual studio 2015 as an add-in and deploy to host web in SharePoint online

– SharePoint Online Develop SharePoint Hosted Add-in using Visual Studio 2015 Demo

Check out Best Alternative to InfoPath -> Try Now


(Installation & Features)

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 →