This question is locked. New answers and comments are not allowed.
Hi, I'm trying to use the RadEditor within a custom web part. I don't want to use the editor as a separate web part on the page, simply as a control within the web part.
I am trying to add the editor to the controls collection of the web part so (within CreateChildControls):
telEditor = new RadEditor();
... property sets
telEditor.Editable = true;
telEditor.EnableViewState = true;
telEditor.ID = "radEd1";
Controls.Add(telEditor);
This doesn't seem to cause a problem, but on rendering the web part I get an 'unexpected error' that doesn't seem trappable.
How shoud I go about using the Controls provided in the Sharepoint version within my web part?
Note I am using VS2003 and Framework 1.1.
Thanks