Call that function from "PopupOpened" or PopupOpening
0
Stefan
Telerik team
answered on 26 Aug 2014, 10:54 AM
Hello Thomas,
I can confirm that the PopupOpened/PopupOpening events are suitable for the purpose. Since by this time the drop down height is already set, the "refresh" is needed.
I would also like to mention that while your function will work when the AutoSizeItems = true, for the rest of the cases one can use the following property to retrieve the item's height:
radDropDownList1.DropDownListElement.ItemHeight
I hope that you find this information useful.
Regards,
Stefan
Telerik
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.