This is a migrated thread and some comments may be shown as answers.

RadWindowManager not finding the pages ScriptManager

3 Answers 113 Views
Window
This is a migrated thread and some comments may be shown as answers.
Sigrún Eva
Top achievements
Rank 1
Sigrún Eva asked on 29 Aug 2008, 09:20 AM
Hi all,

I'm having a problem with the Q2 version of RadWindow for ASP.NET AJAX, I was updateing the binaries from Q1 to Q2 and now I get an errormessage

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

I'm using the ToolkitScriptManager from the AJAX Toolkit on CodePlex and I am using the most recent version of that as well.

I'm building the solution with DotNet version 3.5SP1

If anyone can point me in the right direction that would be greatly appreciated.

3 Answers, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 1
answered on 29 Aug 2008, 10:34 AM
Hi,

Error message "The control with ID '[ControlID]' requires a ScriptManager on the page. The ScriptManager must appear before any controls that need it."

This error occurs when you have added a control from RadControls for ASP.NET AJAX to a page which does not contain a ScriptManager control. To resolve that error please add a ScriptManager control to your page:  <asp:ScriptManager ID="ScriptManager1" runat="server" />

 You can also refer the following help article.
General Troubleshooting

Thanks
Princy.
 
0
Mamun Ahmed
Top achievements
Rank 1
answered on 25 Sep 2008, 04:37 PM
I'm having exactly the same problem, but its more complicated than not having a ScriptManager on the page.

I have defined a scriptmanager on the page, but I still get this error from
Telerik.Web.UI.ScriptRegistrar.GetScriptManager(Control control)

More interestingly on Page_Init I can get reference to the scriptmanager using the static method:

ScriptManager.GetCurrent(this);
So if a scriptmanager exists why does the RadControl have trouble referencing it?

Any ideas?



0
Serrin
Top achievements
Rank 1
answered on 25 Sep 2008, 07:45 PM
Just checking, you are using the RadScriptManager, right?  I've done that a few times, using the regular ScriptManager after adding some Telerik controls and having no clue why stuff wasn't working correctly. :)
Tags
Window
Asked by
Sigrún Eva
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 1
Mamun Ahmed
Top achievements
Rank 1
Serrin
Top achievements
Rank 1
Share this question
or