ScriptManager control is the parent control that needs to be there on every page wherever we are trying to use ASP.NET AJAX controls. ScriptManager control manages client script for AJAX enabled ASP.NET pages. This control enables client script to use the type system extensions and support features for partial page rendering, web service calls etc.


<asp:ScriptManager ID="ScriptManager1" runat="server">

ScriptManager properties:

There are some important properties in ScriptManager are:


Gets or sets a value that determines whether custom errors section of the web.config file is used during error.


Gets or sets the error message that is sent to the client when an unhandled server exception occurs during an asynchronous postback.


Gets or sets the time in seconds before asynchronous postback time if no response is received.


Gets the server control identifier generated by ASP.NET (The id for this control that is rendered on the page)


Gets or sets whether public static page methods in page can be called from client script.


Gets or sets a value that indicates whether server control persists its Viewstate and the Viewstate of its child control if any.


Gets or sets a value that indicates whether the current postback is being executed in partial rendering mode.




  Modified On Mar-22-2018 07:22:18 AM

Leave Comment