Add Text to radEditor in middle of content

2 posts, 1 answers
  1. Kaushal
    Kaushal avatar
    47 posts
    Member since:
    Sep 2010

    Posted 23 May 2011 Link to this post


    Here I need to add some little text at cursor location into RadEditor's content on click of radbutton.


    If I have some text "My name is Kaushal Jani", also my cursor is between "Kaushal" and "Jani" and I clicked on RadButton than sample/some text "Hi" should place between that both words. Result will be "My name is Kaushal Hi Jani".

    Is there any event or method by which I can locate some text to radeditor (specific to cursor location)?

    Thanks & Regards,

    Kaushal Jani
  2. Answer
    Rumen avatar
    13804 posts

    Posted 24 May 2011 Link to this post

    Hi Kaushal,

    The following KB article demonstrates how to make the combobox items unselectable and thus fix the reported problem: Pasting content from RadComboBox item in RadEditor at cursor position. You can use the solution to make RadButton unselectable and achieve your scenario.

    the Telerik team

    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Back to Top