Fix Error: Only one instance of a ScriptManager can be added to the page


Use a ScriptManagerProxy on your child pages/user controls


http://msdn.microsoft.com/en-us/library/system.web.ui.scriptmanagerproxy(v=vs.110).aspx

If your code like this
 
<asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server">
</asp:ToolkitScriptManager>

<!-- <asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>-->
 
Problem Solution  

ASP.NET ignores HTML comments just like it ignores all tags without a runat="server" on them or that don't start with <%. So, Use below code for comment

<%-- <asp:ScriptManager ID="ScriptManager1" runat="server"> 
</asp:ScriptManager> --%>

Comments

Unknown said…
Thanks for sharing.. very helpful in solving problems my asp.net website..

Popular posts from this blog

Delete Confirmation for Delete ButtonField, TemplateField and CommandField in a GridView in ASP.NET

Selecting/Deselecting all CheckBoxes inside a ListView In ASP.NET

How to Create 3 Tier Vb.Net Desktop Application