Custom Drop Down Menus

2 posts, 0 answers
  1. Greg Duffield
    Greg Duffield avatar
    38 posts
    Member since:
    Feb 2006

    Posted 23 Nov 2007 Link to this post

    Can you please advise if it is possible to add Custom Dropdown menu's to the editor toolbar(s). I appreciate that you can add a Custom Links tool etc but what I would like to do is add a new dropdown called "Placeholders" and in this i want to be able to display a field name (such as Full Name) and if this item is selected I want to insert [[FullName]] into the content at the point the cursor it.

    The snippets option is the closest i can find, but I cannot see how to change the mnu name from Snippets (or Custom Links) to something more end user friendly.

    You help/advise would be appreciated.

    Many Thanks

    Greg
  2. Rumen
    Admin
    Rumen avatar
    12849 posts

    Posted 25 Nov 2007 Link to this post

    Hi Greg,

    You can localize the insert Custom Link dropdown by using the Localization property of RadEditor:

            RadEditor1.Localization.Tools.InsertCustomLink = "Placeholders";

    However, it is not possible currently to change the localization string of the Insert Snippet dropdown. This is in our ToDo list for the upcoming hotfixes of RadEditor "Prometheus".

    For your convenience I have made and attached an example with a custom dropdown. You can use the solution to implement your dropdown scenario.

    Kind regards,
    Rumen
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top