Show entire grid in multicolumncombobox without scroll bars

3 posts, 0 answers
  1. Steven Randlett
    Steven Randlett avatar
    7 posts
    Member since:
    Sep 2009

    Posted 17 Aug 2011 Link to this post

    I have been searching for a solution to this issue on the forums but so far, have not found anything that makes the MultiColumnComboBox display the entire Gridview component without any scroll bars.  That is to say, I do not want the width of the gridview component to be constrained by the width of the combo box itself.  I am attaching a small picture of what I am looking for as an attachment (this picture came from the the following link: http://www.telerik.com/help/winforms/gridview-columns-gridviewmulticomboboxcolumn.html and is located at the bottom of the page.)  The attachment appears to use radmultiColumnComboBox control inside a grid.  I do not know if this makes any difference in the behavior of the combo box.

    Any advice on how this can be done?

    Thank you for reading my post and any assistance you can offer.


  2. Steven Randlett
    Steven Randlett avatar
    7 posts
    Member since:
    Sep 2009

    Posted 18 Aug 2011 Link to this post

    I discovered a way to accomplish this by setting radMultiColumnComboBox.MultiColumnComboBoxElement.DropDownWidth to the width of the Gridview "inside" the drop down.

     

  3. UI for WinForms is Visual Studio 2017 Ready
  4. Stefan
    Admin
    Stefan avatar
    2891 posts

    Posted 19 Aug 2011 Link to this post

    Hi Steven,

    Thank you for writing.

    As far as I understand you would like to have the popup of RadMultiColumnComboBox size itself according to grid size. If this is the case, you can easily achieve the desired result by setting the following property:
    radMultiColumnComboBox1.AutoSizeDropDownToBestFit = true;

    I hope that you find this information helpful. Should you have any other questions, do not hesitate to contact us.

    Kind regards,
    Stefan
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>

Back to Top