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

The ScriptManager must appear before any controls that need it

3 Answers 444 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Gary
Top achievements
Rank 1
Gary asked on 23 Feb 2009, 12:38 PM
Hi,

I am installing the RadEditor in an existing .net application with is on MOSS. I have added the RadEditor control to the user control page and added the assembly reference along with the 
<asp:ScriptManager ID="ScriptManager1" runat="server" />  to the top of the User Control.

When I run the application, I get the following error:- 

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

but I know that the scriptmanager declaration (above) is positioned before the RadEditor control.
Any assistance would be appriciated.

Regards

3 Answers, 1 is accepted

Sort by
0
Stanimir
Telerik team
answered on 25 Feb 2009, 02:37 PM
Hello Gary,

Could you please make sure that you correctly extended your MOSS site with Microsoft ASP.NET AJAX.

More information on the matter you can find in our online help.
1. Extending your MOSS site with Microsoft ASP.NET AJAX 1.0 for .NET 2.0
2. Extending your MOSS site with Microsoft ASP.NET AJAX 3.5 for .NET 3.5

I hope that you will find the articles helpful.


Kind regards,
Stanimir
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Gary
Top achievements
Rank 1
answered on 25 Feb 2009, 03:32 PM
Hi,

Thanks for your response. I have followed the instuctions that you directed me to for "Extending your MOSS site with Microsoft ASP.NET AJAX 1.0 for .NET 2.0" and my web page now appears.

The problem that I now have is that I have added a RadSpell control to the same page but when I click on the spell check button I get an error "Web.config registration missing!! The Telerik dialogs require a HttpHandler registration in the web.config file."

I have added the httphandlers to the web.config file as below:-
<add verb="*" path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler, Telerik.Web.UI, Version=2008.3.1314.20, Culture=neutral, PublicKeyToken=121fae78165ba3d4"></add>
      <add verb="*" path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler, Telerik.Web.UI, Version=2008.3.1314.20, Culture=neutral, PublicKeyToken=121fae78165ba3d4"></add>

I have doubled-checked these entries but still can not see what the problem might be.

Also, if I click OK from the above error message, the spell check dialog box appears but within the box says "the file '/_layouts/APPLICATIONS/SchoolVacancies/Telerik.Web.UI.DialogHandler.aspx' does not exist"
it appears to be trying to pick up the dialoghandler page from the 12 hive (where my user controls are for the page) but the assembly dll is in the GAC.

I would appriciate any help.
Regards
Gary
0
Stanimir
Telerik team
answered on 04 Mar 2009, 12:16 PM
Hi Gary,

Please take a look at the following online help articles.
1. Deploying RadControls for ASP.NET Ajax
2. Incorporating RadControls for ASP.NET Ajax in MOSS WebSites
3. Create an AJAX-enabled Sharepoint WebPart that uses RadControls

I think that you will find helpful information there.

If you do not succeed to overcome the problem, please provide us with some additional information. Your web.config file and the code, which incorporates the RadSpell  will be of great help as well.

Thank you.

Sincerely yours,
Stanimir
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Editor
Asked by
Gary
Top achievements
Rank 1
Answers by
Stanimir
Telerik team
Gary
Top achievements
Rank 1
Share this question
or