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

select some text and highlight them in editor from code behind

1 Answer 26 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Yang
Top achievements
Rank 1
Yang asked on 17 Mar 2015, 03:52 AM
Hello,
is there a way to select some text and highlight them in editor from code behind?

i am facing this problem for many days, so any help is much appreiated.

1 Answer, 1 is accepted

Sort by
0
Ianko
Telerik team
answered on 19 Mar 2015, 08:18 AM
Hi Yang,

You can manipulate the selections's range via the exposed methods in the API--http://www.telerik.com/help/aspnet-ajax/editor-getrange.html.

As for manipulating the selection, it is a browser functionality and you can read more about it in this MDN help article--https://developer.mozilla.org/en-US/docs/Web/API/Range.

Regards,
Ianko
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
Editor
Asked by
Yang
Top achievements
Rank 1
Answers by
Ianko
Telerik team
Share this question
or