Click here to Skip to main content
15,893,644 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i have added script manager in one page. i got error-Only one instance of a ScriptManager can be added to the page.plz help me?
Posted
Updated 3-Jun-12 19:46pm
v6
Comments
[no name] 4-Jun-12 1:27am    
Please provide the code so that we can see the error.
[no name] 4-Jun-12 1:33am    
did u used master page
Member 9027346 4-Jun-12 1:36am    
not used master page for this page but i used master page to other pages
[no name] 4-Jun-12 1:50am    
show ur aspx page code

'ScriptManager' must be placed inside a form tag with runat=server.
you have to put your script manager just after the form tag!
 
Share this answer
 
Hello,

Only One Script Manager will be Added to Page...Not More than that.

If u add in Master Page, It will apply to all related Pages.....So be Careful.


Ok, Bye.
 
Share this answer
 
Comments
Member 9027346 4-Jun-12 1:31am    
i have added only one script manager.i have not added this page in master page.
i think but not sure u write you script manager tag after the form tag. not after body tag.

XML
<body><asp:scriptmanager id="ScriptManager1" runat="server" xmlns:asp="#unknown"></asp:scriptmanager></body>


in place of write

XML
<body>

    <form id="form1"  runat="server">
    <%-- <div style=" padding:1% 1% 1% 1%; width:98%; background-color:#F5F6F7; border-removeddotted 1px #D8D8D8">

<asp:ScriptManager ID="ScriptManager1" runat="server">
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900