Adding a drop down to rad editor

4 posts, 0 answers
  1. Manoj
    Manoj  avatar
    2 posts
    Member since:
    Jan 2010

    Posted 17 Mar 2010 Link to this post

    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?
  2. Rumen
    Admin
    Rumen avatar
    14107 posts

    Posted 17 Mar 2010 Link to this post

    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.
  3. Vadym
    Vadym avatar
    1 posts
    Member since:
    Aug 2017

    Posted 22 Aug 2017 in reply to Rumen Link to this post

    Hi,

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

    Thank You!

  4. Rumen
    Admin
    Rumen avatar
    14107 posts

    Posted 23 Aug 2017 Link to this post

    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.
Back to Top