Completed
Last Updated: 31 Jan 2019 11:39 by ADMIN
Valery
Created on: 20 Jan 2019 07:42
Category: RibbonBar
Type: Bug Report
0
RadDropDownListElement and DescriptionTextListDataItem

In RadDropDownListElement add two DescriptionTextListDataItem:

            radDropDownListElementFoo.Items.Add(new DescriptionTextListDataItem("Foo 1", "Description 1"));
            radDropDownListElementFoo.Items.Add(new DescriptionTextListDataItem("Foo 2", "Description 2"));

But the description is not displayed and the drop down height is too large (foo.png)

What am I doing wrong?

If change ItemHeight = 36, then description is displayed, but the drop down height is too large (foo36.png)

Attached Files:
2 comments
Dimitar
Posted on: 31 Jan 2019 11:39
Hello,

A fix will be available in Telerik UI for WinForms version R1 2019 SP1.

Regards,
Dimitar
ADMIN
Dess | Tech Support Engineer, Principal
Posted on: 22 Jan 2019 11:05
Hello, Valery,      
 
I have logged it in our feedback portal by making this thread public. You can track its progress, subscribe for status changes and add your comments on the following link - feedback item.

I have also updated your Telerik points.

Currently, the possible solution that I can suggest is to adjust the ItemHeight property and specify the maximum size of the drop down: 

this.radDropDownListElement1.ItemHeight = 40;
this.radDropDownListElement1.DropDownMaxSize = new Size(this.radDropDownListElement1.Size.Width,this.radDropDownListElement1.ItemHeight * this.radDropDownListElement1.Items.Count + 1);

  

I hope this information helps. If you need any further assistance please don't hesitate to contact me. 

Regards,
Dess | Tech Support Engineer, Sr.
Progress Telerik

Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.