height of dropdown and MaxDropDownHeight

2 posts, 0 answers
  1. arthurd
    arthurd avatar
    18 posts
    Member since:
    Aug 2007

    Posted 12 Aug 2010 Link to this post

    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.

  2. George
    George avatar
    1332 posts

    Posted 17 Aug 2010 Link to this post

    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.

    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
  3. DevCraft R3 2016 release webinar banner
Back to Top