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

Add scroll bar to Insert Merge Field Ribbon button

4 Answers 109 Views
RichTextBox
This is a migrated thread and some comments may be shown as answers.
Clifford
Top achievements
Rank 1
Clifford asked on 01 Nov 2013, 10:38 PM
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"
				 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."
				 LargeImage="pack://application:,,,/Telerik.Windows.Controls.RichTextBoxUI;component/Images/MSOffice/32/InsertMergeField.png"
				 telerik:RadRichTextBoxRibbonUI.RichTextCommand="{Binding InsertMergeFieldEmptyCommand}"
				 Size="Large"
				 Text="Insert Merge Field"
				 telerik:ScreenTip.Title="Insert Merge Field" />

4 Answers, 1 is accepted

Sort by
0
Petya
Telerik team
answered on 06 Nov 2013, 12:42 PM
Hello,

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."
                                 LargeImage="/Telerik.Windows.Controls.RichTextBoxUI;component/Images/MSOffice/32/InsertMergeField.png"
                                 telerik:RadRichTextBoxRibbonUI.RichTextCommand="{Binding InsertMergeFieldEmptyCommand}"
                                 Size="Large" Text="Insert Merge Field"
                                 DropDownMaxHeight="200"
                                 Template="{StaticResource MergeFieldDropDownButtonTemplate}"
                                 telerik:ScreenTip.Title="Insert Merge Field" />

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

Regards,
Petya
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
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 >>
0
Clifford
Top achievements
Rank 1
answered on 08 Nov 2013, 09:09 PM
Thanks, worked great
0
Chris
Top achievements
Rank 1
answered on 13 Dec 2016, 03:30 PM
Was the scrollable content added to a later version or does this workaround still apply?
0
Boby
Telerik team
answered on 16 Dec 2016, 12:50 PM
Hi Chris,

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

Regards,
Boby
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.
Tags
RichTextBox
Asked by
Clifford
Top achievements
Rank 1
Answers by
Petya
Telerik team
Clifford
Top achievements
Rank 1
Chris
Top achievements
Rank 1
Boby
Telerik team
Share this question
or