Adding RadEditor To Existing asp:textbox

3 posts, 0 answers
  1. Gary
    Gary avatar
    10 posts
    Member since:
    Feb 2009

    Posted 18 Feb 2009 Link to this post

    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. Serrin
    Serrin avatar
    286 posts
    Member since:
    Sep 2008

    Posted 18 Feb 2009 Link to this post

    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!
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Gary
    Gary avatar
    10 posts
    Member since:
    Feb 2009

    Posted 19 Feb 2009 Link to this post

    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
Back to Top