I have several Editors in a Usercontrol through which I want to iterate client-side.
I tried
if ($telerik && Telerik.Web.UI.RadEditor)
but this is giving me ALL editors, I want only the editors in a particular Usercontrol.
Thanks for reply.
Marc
2 Answers, 1 is accepted
0
Accepted
Rumen
Telerik team
answered on 02 Jul 2009, 11:58 AM
Hi,
The $telerik.radControls is an array containing all RadControls on the page.
You can use isInstanceOfType to check whether the control is of type RadEditor.
To get the ID of the editor use
editor.get_id(). Once you have the editor's ID you can check whether it contains the ID of the user control where the editor resides.