Dynamically Re-sizing Entire Grid View

2 posts, 0 answers
  1. Chummy
    Chummy avatar
    9 posts
    Member since:
    Aug 2011

    Posted 12 Apr 2012 Link to this post

    Hi, I have a wizard running as part of a custom add-in for Outlook 2010. In one of the wizard dialogs I have a Telerik GridView control. The wizard dialog window that contains the Grid is re-sizable and I would like to have the Telerik Grid dynamically resize as the user re-sizes the Wizard dialog.

    Any suggestions on how to achieve this would be greatly appreciated.

  2. Stefan
    Stefan avatar
    2908 posts

    Posted 17 Apr 2012 Link to this post

    Hi Chummy,

    Thank you for writing.

    I will suggest to use the AutoSizeColumnsMode property of RadGridView set to Fill. This way the columns will fill the grid and they will automatically resize together with the control.

    More information regarding sizing the columns can be found here: http://www.telerik.com/help/winforms/gridview-columns-resizing-columns-programatically.html.

    I hope that you find this information useful. Let us know if you have any other questions.
    Kind regards,
    the Telerik team
    RadControls for WinForms Q1'12 release is now live! Check out what's new or download a free trial >>
Back to Top