I have used RAD:ListBox Control. I want to set the height of Listbox based on the height of the ListBoxItems of First 15items(Items Template I have used for Items Display). Any idea to implement this behavior.
Thanks,
Kishore Kumar
1 Answer, 1 is accepted
0
Dinko | Tech Support Engineer
Telerik team
answered on 30 Sep 2021, 08:12 AM
Hi Kishorekumar,
What you can try is to calculate the height of the items when the control is loading. To be more accurate, can you share the custom DataTemplate set to the ItemTemplate property of the RadListBox. This way I can test it on my side and propose a suitable solution.