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

height of dropdown and MaxDropDownHeight

1 Answer 108 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
arthurd
Top achievements
Rank 1
arthurd asked on 12 Aug 2010, 06:01 PM
Is there a recommended way to get the height of the dropdown area to be dynamic based on browser height?

It looks like MaxDropDownHeight defaults to 200.

I would really like it to use entire height available (or a percentage of that height) and then show the scrollbar if the content still doesn't fit.

I suppose I could bind MaxDropDownHeight to my own variable that I keep updated but I thought maybe there was an easier way.

Thanks.

1 Answer, 1 is accepted

Sort by
0
George
Telerik team
answered on 17 Aug 2010, 03:39 PM
Hello arthurd,

Thank you for contacting us.

Binding MaxDropDownHeight to a variable is the most suitable scenario to accomplish this. Just keep the height of the browser in a property binded to MaxDropDownHeight property, for example, and format the value in the setter.

Please do not hesitate to contact us if you require any further information.

Regards,
George
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
ComboBox
Asked by
arthurd
Top achievements
Rank 1
Answers by
George
Telerik team
Share this question
or