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

[Solved] Call the Editor from JavaScript

1 Answer 85 Views
Editor
This is a migrated thread and some comments may be shown as answers.
veera kumar
Top achievements
Rank 1
veera kumar asked on 31 Oct 2009, 11:59 AM
Hi,
Problem in getting radeditor control id from javascript.

I am using rad editor in my application. i have placed the rad editor in a usercontrol and i wish to use that in my aspx pages normally how we place usercontrols in web pages. here the problem is i am using ajax modal popup. i have linkbutton in my web page and in the click event i am opening a pop up with the usercontrol (editor). so far it is working fine and able to read editor content in the server side. i have a button inside the popup and onclientclink event i want to validate the editor blank or not .
to do this i need to get the editor (usercontrol) id from the javascript.

Could any one help me to get out from this.
 

1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 04 Nov 2009, 01:40 PM
Hi Veera,

You can see how to get a reference to RadEditor on the client in the following articles:
http://www.telerik.com/help/aspnet-ajax/editor_getingreferencetoradeditor.html

http://blogs.telerik.com/atanaskorchev/posts/08-06-06/the_difference_between_id_clientid_and_uniqueid.aspx

http://www.telerik.com/support/kb/aspnet-ajax/general/how-to-create-a-javascript-array-of-all-particular-radcontrols-on-the-page.aspx

All the best,
Rumen
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Editor
Asked by
veera kumar
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Share this question
or