The ScriptManager control is included in ASP. NET 2.0 AJAX Extensions, which is used to process all the components on the page and partial page updates, generate the relevant client proxy script so that the Web Service can be accessed in JavaScript, all must support ASP. net ajax asp.. NET page can have only one ScriptManager control. In the ScriptManager control, we can specify the required script library, the Web Service called through JS, and page error handling.
<Asp: ScriptManager/> is used to define a ScriptManager. The simple ScriptManager definition form is as follows:
- <asp:ScriptManagerIDasp:ScriptManagerID="ScriptManager1"
- runat="server">
- <AuthenticationServicePathAuthenticationServicePath=""/>
- <ProfileServiceLoadPropertiesProfileServiceLoadProperties=""Path=""/>
- <Scripts>
- <asp:ScriptReference/>
- </Scripts>
- <Services>
- <asp:ServiceReference/>
- </Services>
- </asp:ScriptManager>
Scripts attributes
The main attribute is the Path that specifies the script Path. ScriptMode specifies the Script Mode of the client. it overwrites the ScriptMode attribute in ScriptManager, and IgnoreScriptPath specifies whether to ignore the ScriptPath attribute in ScriptManager.
I have learned about the ScriptManager control. The attributes of AuthenticationService and ProfileService are simple.
- Introduction to ASP. net mvc Framework
- MvcContrib. FluentHtml of ASP. NET MVC
- Functions of ASP. NET Framework and Application of ASP. net mvc pattern
- Analysis of Asp.net MVC Lifecycle
- Overview of ASP. net ajax Configuration