|
Re: ScriptManager in Ajax
|
|
|
|
|
|
|
|
|
|
Hi Amit,
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.
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
|
|
|
|