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

Adding a drop down to rad editor

3 Answers 119 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Manoj
Top achievements
Rank 1
Manoj asked on 17 Mar 2010, 11:15 AM
Hi,

I am using rad editor in me current project,the scenario is that I every user in database has a table of members having varying Fields in table. i e. these field are dynamic in nature and thus varies based on used.these dynamic fields need to be places in html inside the rad editor so that I can change the value of these fields programatically in HTML.

in my current implementation I validates the HTML on server to check if user has written these fields in HTML (format is like %%MemberName%% or may be something else enclosed in %%%%) then I replaces these values programatically with valid values.

But now according to our client's requirement he want a right click context menu, or drop down list or button on rad editor toolbar to display  and choose these dynamic fields so that the user dont need to remember which fields are dynamic and he can just select those fields to insert in email template in rad editor.

How can I achieve this.Please help me ?? or provide some better alternative?

3 Answers, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 17 Mar 2010, 03:19 PM
Hi Khamani,

You can very easily implement your own custom dropdown and add it to the toolbar. You can find information on how to do that in this help article Adding Custom Dropdowns and test custom dropdowns in this live demo: Custom Dropdowns.

Best regards,
Rumen
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Vadym
Top achievements
Rank 1
answered on 22 Aug 2017, 03:57 PM

Hi,

Is it possible to have my custom dropdown list be searchable?

Thank You!

0
Rumen
Telerik team
answered on 23 Aug 2017, 08:42 AM
Hi Vadym,

The requested dropdown search feature is not offered built-in but you can see how to add RadCombobox to RadEditor's Toolbar at Can I add a combobox to radeditor's tools collection? Simply replace the combobox with the desired search control to achieve your scenario.

Best regards,
Rumen
Progress Telerik
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
Editor
Asked by
Manoj
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Vadym
Top achievements
Rank 1
Share this question
or