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

RibbonBar RadDropDownButtonElement Problem

1 Answer 88 Views
RibbonBar
This is a migrated thread and some comments may be shown as answers.
Alexander Plesov
Top achievements
Rank 1
Alexander Plesov asked on 15 Apr 2010, 06:59 PM
Hello!
I have some problems with RadDropDownButtonElements when using them in the RibbonBar control.
1st - I can´t expand the dropdown list of elements by clicking on the arrow at the design time, only at the run time.
2nd - The "imageList" option doesn´t appear in the  dropDownButton properties windows so I need to add images one by one for each element in my buttondropdown list.
3nd - the "column" where images are supposed to appear in the dropdown list of the DropDownButtonElement is always empty, so there is some kind of an empty tab on the left side of the list and then the image is represented followed by the text.
4th - Alsou can´t align text to left - it is always centered for any option I choose in the property window.

But everything works just fine (all 3 issues) since I'm using RadMenuDropDownButton out of ribbonBar.
Best Regards

1 Answer, 1 is accepted

Sort by
0
Deyan
Telerik team
answered on 21 Apr 2010, 02:05 PM
Hello Alexander,

Thanks for contacting us and for reporting these issues.

1. Indeed, when put in a RadRibbonBar control, the RadDropDownButtonElement does not allow for expanding its drop-down list. This is a missing feature rather than an issue. We are going to revise this behavior and hopefully will implement it for one of our future releases.

2. In order to be able to use an ImageList for the elements inside the RadRibbonBar control, you should simply set the ImageList property of the control itself and after that assign ImageKey/ImageIndex values to the elements you would like to have an image. The same applies for the items in the drop-down button. When adding an item in the RadDropDownButtonElement (when inside a RadRibbonBar) you can select the item (for example by using the collection editor of the Items collection of the RadDropDownButtonElement) you would like to assign an image to, and simply set its ImageKey/ImageIndex property. This will be serialized in the InitializeComponent method and later, when opening the drop-down, the correct images will be acquired. Please note that you will not be able to see the available images from the image list due to some specifics of the RadDropDownButtonElement and the way its popup is created and later displayed.

3. I am not quite sure that I correctly understand your point here. This is the default appearance of a drop-down menu: vertical header after which the text of the menu item is displayed. When you assign an image to the menu item, it is displayed in the corresponding part of the vertical header. This is the behavior that I was able to reproduce on my side.

4. The text of the menu item in a drop-down menu is aligned after the empty vertical header. Could you please give us more details on the way how you would like to have the text aligned in your case?

I hope this is helpful.

Do not hesitate to write back anytime you have further questions or need assistance.

Kind regards,
Deyan
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.
Tags
RibbonBar
Asked by
Alexander Plesov
Top achievements
Rank 1
Answers by
Deyan
Telerik team
Share this question
or