AJAX control to manage JavaScript files sent for communication between client and server - ScriptManager
Q. Which control is required of every AJAX page to manage the JavaScript files sent to the client and the communication between client and server?- Published on 16 Jun 15a. UpdatePanel
b. ScriptManager
c. AsyncPostBackTrigger
d. None of the above.
ANSWER: ScriptManager
ScriptManager control is mandatory control if you want to work with ASP.NET AJAX server control. Only one instance of a ScriptManager can be added to the web page. It manages the JavaScript files sent to the client and the communication between the server and the client. It also manages partial-page updates. The HTML for a ScriptManager control in Source view looks as follows:
< asp:UpdatePanel ID="UpdatePanel1" runat="server">
asp:UpdatePanel>