i

ASP.Net A Complete Guide

ScriptManager

It is present for other control to work. If we add Ajax form and Enabled the ajax, then the script manager gets added on the page automatically. The VS has provided a tool to use ajax in web applications. ScriptManager controls mange is used to manage the client script for Ajax-enabled web pages. By default, this control registers the script for the MS Ajax library. It enables client script to support features like partial-page rendering and Web-service calls and typescript extension.

Syntax:

ScriptManager has provided below feature:

When we add the JavaScript proxy for Web Services, then it will help us to call the Web Service from JavaScript file. With the help of ScriptManager, we can register and load the custom JavaScript file. The partial page will get render without refreshing the complete web page.

Example: