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

Dynamically populate editorDropDown in Javascript

2 Answers 46 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Rahul
Top achievements
Rank 1
Rahul asked on 08 Nov 2012, 11:29 AM
Is there a way to get reference to the editorDropDown tool in Javascript.
1) Replace all the current editorDropDownItem
2) add new editordropdownitem through javascript

I searched for few hours but didn't find anything that can help.

2 Answers, 1 is accepted

Sort by
0
Rahul
Top achievements
Rank 1
answered on 09 Nov 2012, 03:32 AM
Telerik experts!!!

Can you please help me with this. There ought to be some javascript function to add editordropdownitems to the editordropdown using javascript.

Its urgent, please help.
0
Nikolay
Telerik team
answered on 12 Nov 2012, 02:33 PM
Hello Rahul,

At present RadEditor does not offer the ability to edit its dropdowns, but you can add RadComboBox control to the RadEditor toolbar and customize it. For a reference, please take a look at the following online resources:

http://www.telerik.com/community/forums/aspnet-ajax/editor/can-i-add-a-combobox-to-radeditor-s-tools-collection.aspx

http://www.telerik.com/support/kb/aspnet-ajax/editor/pasting-content-from-radcombobox-item-in-radeditor-at-cursor-position.aspx

If this does not help, please provide more information about which build in dropdown you have to customize and what you want to achieve.

Kind regards,
Nikolay
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Editor
Asked by
Rahul
Top achievements
Rank 1
Answers by
Rahul
Top achievements
Rank 1
Nikolay
Telerik team
Share this question
or