Add scroll bar to Insert Merge Field Ribbon button

5 posts, 0 answers
  1. Clifford
    Clifford avatar
    25 posts
    Member since:
    Sep 2013

    Posted 01 Nov 2013 Link to this post

    I have 55 merge fields right now in the RadRichTextBox Merge collection. As you have implemented it, this list does not have a scroll bar when the list gets cut off at the bottom of the screen. Here is my current XAML, which is from your template:

    	<telerik:RadRibbonDropDownButton Name="MailingsInsertFieldButton"
    				 telerik:ScreenTip.Description="You can insert fields such as Name or Address, which will be replaced automatically with information from a database or contact list for each copy of the form letter."
    				 telerik:RadRichTextBoxRibbonUI.RichTextCommand="{Binding InsertMergeFieldEmptyCommand}"
    				 Text="Insert Merge Field"
    				 telerik:ScreenTip.Title="Insert Merge Field" />
  2. Petya
    Petya avatar
    983 posts

    Posted 06 Nov 2013 Link to this post


    Thanks for getting to us with this!

    We are aware of this and we will try to make the respective content scrollable out of the box in one of our next releases. In the meantime, you can set the DropDownMaxHeight of the DropDownButton which shows the merge fields. Additionally, you will need to apply a custom template to the button. Please find attached a resource dictionary containing such template and below you can find how to modify the XAML in the ribbon
    <telerik:RadRibbonDropDownButton CollapseToMedium="WhenGroupIsMedium"
                                     telerik:ScreenTip.Description="You can insert fields such as Name or Address, which will be replaced automatically with information from a database or contact list for each copy of the form letter."
                                     telerik:RadRichTextBoxRibbonUI.RichTextCommand="{Binding InsertMergeFieldEmptyCommand}"
                                     Size="Large" Text="Insert Merge Field"
                                     Template="{StaticResource MergeFieldDropDownButtonTemplate}"
                                     telerik:ScreenTip.Title="Insert Merge Field" />

    I hope this is helpful! Let us know if you have other questions or comments.

    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
  3. Clifford
    Clifford avatar
    25 posts
    Member since:
    Sep 2013

    Posted 08 Nov 2013 Link to this post

    Thanks, worked great
  4. Chris
    Chris avatar
    1 posts
    Member since:
    Sep 2012

    Posted 13 Dec 2016 in reply to Petya Link to this post

    Was the scrollable content added to a later version or does this workaround still apply?
  5. Boby
    Boby avatar
    638 posts

    Posted 16 Dec 2016 Link to this post

    Hi Chris,

    I can confirm that in latest version (2016 R3 SP1) the problem is still not fixed, and the mentioned workaround still applies.

    Telerik by Progress
    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