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

Spell fails on one page but not on another

1 Answer 14 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Stephen
Top achievements
Rank 2
Stephen asked on 25 Nov 2008, 03:12 PM
I'm getting the infamous "Web.config registration missing!" error. But it can't be the configuration because it runs in another place. I created a page that just had the RadEditor and got that working correctly with spell. Then I removed the design component and add it dynamically which is how its being done in the main body of the system (along with a lot of other controls). And it works fine in the standalone page (which is using the same master page as the one that fails). Yet still the main one pops up the registration missing error when you try to spell check. Any clues?

This running in VS 2008 on XP SP2

This is all the code I have to create the editor.

        Telerik.Web.UI.RadEditor newTextBoxFull = new Telerik.Web.UI.RadEditor();
        newTextBoxFull.ToolsFile = "~/config/tools.xml";
        newTextBoxFull.ID = "txtBox_TestRadEditor";
        newTextBoxFull.Content = "This is some text <b>which</b> will get displayed for editing;";
        pnlEditor.Controls.Add(newTextBoxFull);





1 Answer, 1 is accepted

Sort by
0
Nikolay Raykov
Telerik team
answered on 28 Nov 2008, 01:25 PM
Hi Stephen,

I made two sample projects. One under VS 2005 using .Net 2.0 and another under VS 2008 using .Net 3.5. In both of them the spell check is working. First I added the editor on the design surface and run the page.Then I removed it and pasted your code to add it dynamically. I am attaching a movie that I made to see that everything is working. I suggest to open a support ticket and send us a sample project with detailed information how to reproduce the problem.

Sincerely yours,
Nikolay Raykov
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Editor
Asked by
Stephen
Top achievements
Rank 2
Answers by
Nikolay Raykov
Telerik team
Share this question
or