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

Add Text to radEditor in middle of content

1 Answer 58 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Kaushal
Top achievements
Rank 1
Kaushal asked on 23 May 2011, 06:58 AM
Hi,

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

E.g.

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

1 Answer, 1 is accepted

Sort by
0
Accepted
Rumen
Telerik team
answered on 24 May 2011, 11:26 AM
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.

Regards,
Rumen
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.

Tags
Editor
Asked by
Kaushal
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Share this question
or