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

Accessing RADEditor DNN Provider Client API

1 Answer 46 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Peter
Top achievements
Rank 1
Peter asked on 31 Aug 2011, 08:08 PM
Does anyone know how are we able to access an instance of the radeditor used in dnn via javascript? For example $find(oEditor.ClientId) is unsuccessful, and specifically I need to be able to utilize the radeditor sethtml and gethtml methods of that editor instance.

Thanks!

1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 02 Sep 2011, 03:05 PM
Hello Peter,

Please, note that version 5.0 or later of DNN uses the Professional provider of RadEditor, which is implementation of the DNN developers and it is not supported by Telerik. Our suggestion is to post your question in the DNN forums and contact the support of DNN for help.

You can try to obtain a reference using the ID generated in the generated page HTML source:
$find("PUT here the generated in the page output ID of RadEditor");

Another approach is explained in the following KB article: How-to create a javascript array of all particular RadControls on the page.

All the best,
Rumen
the Telerik team

Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

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