Answer: ScriptManager Control is a Server-Side Control and the most important and widely used control in AJAX.It uses Client-Side script to work with all the server side controls.
ScriptManager control by-default registers the script for the Microsoft AJAX Library with the page.This makes enable to use partial page rendering/partial page postback.
For working with AJAX,we must give reference of ScriptManager after <body> tag on the page like below:-
<asp:ScriptManager ID="scm" runat="server"></asp:ScriptManager>
Note:- We can have only one Scriptmanage Control on to a Page at a time.
It's a class as well as Control.
Asked In: Many Interviews |
Alert Moderator