Hi friends,
I want to know that what's the role of ScriptManager in Ajax? Can we placed more than one ScriptManager inside the .aspx page?
ScriptManager in Ajax
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Satyapriya NayakRank #47 · 31.5K reputationPosted Feb 7, 2012, 4:54 PM EST
The ScriptManager controls client script for ASP.NET AJAX pages. It also registers the script for the AJAX Library.Script Manager, as the name suggests is used to manage the client side script of Ajax. Since Ajax uses Java Script, there needs to be a mediator to manage this script and restrict a particular version to a browser. A Script manager is present on every page where Ajax is used to enable the Ajax Libraries. These Libraries in turn helps to implement the core Functionality of Ajax: Partial rendering.
Why Use the ScriptManager Control
You must use a ScriptManager control on a page to enable the following features of ASP.NET AJAX:
Client-script functionality of the Microsoft AJAX Library, and any custom script that you want to send to the browser. For more information, see ASP.NET AJAX and JavaScript.
Partial-page rendering, which enables regions on the page to be independently refreshed without a postback. The ASP.NET AJAX UpdatePanel, UpdateProgress, and Timer controls require a ScriptManager control to support partial-page rendering.
JavaScript proxy classes for Web services, which enable you to use client script to access Web services by exposing Web services as strongly typed objects.
JavaScript classes to access ASP.NET authentication and profile application services.
Refer
http://msdn.microsoft.com/en-us/magazine/cc163354.aspx
http://www.asp.net/ajax/Documentation/live/overview/ScriptManagerOverview.aspx
Thanks