Thank you for writing.
I was not able to reproduce the observed behavior. This is why I wanted to ask you wich is the exact version that you are using?
Additionally, I want to suggest you a slightly different solution. You can use the PopupOpening
event and set the width directly like this:
i = 0; i < 5; i++)
"Item with very long text, Item with very long text"
radDropDownList1.PopupOpening += PopupOpening;
sender, CancelEventArgs e)
width = -1;
itemWidth = TextRenderer.MeasureText(item.Text, radDropDownList1.Font).Width;
(width < itemWidth)
width = itemWidth;
radDropDownList1.DropDownListElement.Popup.Width = width + 5;
I hope this helps. I am looking forward to your reply.
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 Feedback Portal
and vote to affect the priority of the items