Update Panel requires ScriptManager

Posted by Rajarbind under ASP.NET on 3/30/2008 | Views : 39272 | Status : [Member] | Replies : 6
Hi ,
I using ASP.net2.0 with ajax1.0 . I am getting error while running the page.Please help me.

The control with ID ''UpdatePanel1'' requires a ScriptManager on the page. The ScriptManager must appear before any controls that need it.

Thanks,
Arbind Kumar




Responses

Posted by: Bubbly on: 2/20/2010 [Member] Bronze

Up
0
Down
Yes you need to place ScriptManager before your updatepanel control

++
Thanks & Regards,
Deepika

Rajarbind, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Zalarcon on: 10/8/2011 [Member] Starter | Points: 25

Up
0
Down
Scriptmanager is the best option here.







Rajarbind, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Amatya on: 8/7/2015 [Member] Bronze | Points: 25

Up
0
Down
Put inside the Form Tag

<form id="form1" runat="server">

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


If it has Master Page then Put this in the Master Page itself.
Cheers.. :)

Feel free to share informations 9731764134
Thanks

Rajarbind, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Shreedar on: 8/15/2015 [Member] Starter | Points: 25

Up
0
Down
Hi

AjaxControlToolKit.dll should be added to bin folder of your application. Then place the scriptmanager control on the form which is most essential if you want to use any of ajax control.
Lastly place the update pannel.

Hope this solves your problem.
Mark as the answer if you are satisfied.

Regards,
Sridhar Thota.

Regards

Sridhar Thota.
www.dotnet-sridhar.blogspot.com

Rajarbind, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: SheoNarayan on: 3/31/2008 [Administrator] HonoraryPlatinum

Up
0
Down
I think you are using ASP.NET Ajax UpdatePanel control.

In this case ScriptManager control (the parent control of all ASP.NET Ajax control) must be placed before you use any ASP.NET AJAX control.

You may download the ASP.NET Ajax project with sample code from http://dotnetfunda.com/tutorials/controls/?msel=2#aspnet location and see how to use UpdatePanel.

Thanks


Regards,
Sheo Narayan
http://www.dotnetfunda.com

Rajarbind, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Raja on: 6/26/2008 [Member] Starter

Up
0
Down
Did this answer solve your problem?

Regards,
Raja, USA

Rajarbind, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response