height of dropdown

2 posts, 0 answers
  1. beeta one
    beeta one avatar
    63 posts
    Member since:
    Aug 2012

    Posted 17 Jan 2013 Link to this post

    How  can i show the height of dropdown based on the number of items in the radcombobox? 
  2. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 17 Jan 2013 Link to this post


    One suggestion is that you can calculate the Height by multiplying the number of items and the height of a single item as follows.

    int calculatedHeight = RadComboBox1.Items.Count * 22;
    RadComboBox1.Height = calculatedHeight;

    Please take a look into this for more information.

    Hope this helps.

Back to Top