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

Adding RadEditor To Existing asp:textbox

2 Answers 78 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Gary
Top achievements
Rank 1
Gary asked on 18 Feb 2009, 11:40 AM
Hi,

I have a web form that has several asp:textbox s on it it. Is it possible to attach a RadEditor to each textbox rather than having to replace them with a seperate RadEditor for each.

Also, I have seperately added the RadSpell control to the form and added some Javascript code so that when an asp:button is clicked it spell checks all of the textboxes on the web form. Can this spell check be performed on the RadEditor control is my above question is not possible?

Another also, if I do need to add RadEditors instead of asp:textbox s how do I remove the border colour that goes around the RadEditor as I would like the RadEditor to look like a usual textbox.

Regards
Gary

2 Answers, 1 is accepted

Sort by
0
Serrin
Top achievements
Rank 1
answered on 18 Feb 2009, 08:32 PM
Hey Gary,

What functionality of RadEditor are you looking for that you wish to 'attach' a RadEditor to all of these textboxes?  You can definitely use RadEditor as a textbox, as seen here:

http://demos.telerik.com/aspnet-ajax/editor/examples/editorastextbox/defaultcs.aspx

Also, you can use a shared menu for all instances of RadEditor to reduce the markup you need, like in this demo:

http://demos.telerik.com/aspnet-ajax/editor/examples/toolprovider/defaultcs.aspx

As far as spelling, you have a spellcheck built into RadEditor which you can use, so if you have a shared toolbar type deal like in the tool provider sample, be sure to include spellcheck in your tool set.

Cheers!
0
Gary
Top achievements
Rank 1
answered on 19 Feb 2009, 09:34 AM
Hi,

thanks for your response.

I was wanting to use the Editors bold, numbered list, bullet list and spell checker but I thought that these could just be attached to an Asp:Textbox control. As I understand it, if I want to use these features then I will need to add a RadEditor control instead of the texbox control?

Also I have tried the code example that you have supplied in your p[ost to remove the borders to make the RadEditor look like a standard textbox, but the left hand border still remains and I can not seem to remove it. Any more Ideas?

Regards
Gary
Tags
Editor
Asked by
Gary
Top achievements
Rank 1
Answers by
Serrin
Top achievements
Rank 1
Gary
Top achievements
Rank 1
Share this question
or