I am planning to rebuilding the code of one asp.net project to another asp.net project.
but i am stuck some where ...
I drag and dropped the master page and the views (4 nos) into the master page.
now i need to drop scriptmanager.. where should i need to drag and drop this?
- inside the multiview
- outside the multiview
- inside view? if 开发者_如何学Goso which view ? view 1 ? view 2? view 3? view 4?
What actually the script manager do ?
Thomas answer is correct, I'd like to add, to be more specific that placing the ScriptManager right below the Master's page Form tag is the best place:
<form id="form1" runat="server">
<asp:ScriptManager ID="ScriptManager1" runat="server" />
I would put the ScriptManager at the top of the Master page outside of any Multi-View. The ScriptManager is a what is used by the Microsoft controls to provide AJAX functionality.
精彩评论