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

Gridview inside FlowLayoutPanel full width?

1 Answer 129 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Sergi
Top achievements
Rank 1
Sergi asked on 05 Jul 2011, 08:37 AM
How can I make a gridview use all the width avaible in a flowlayout panel? the flowlayoutpanel is set to dock Fill, I set the gridview to dock fill too but it won't take the full width.

Thanks in advance.

1 Answer, 1 is accepted

Sort by
0
Svett
Telerik team
answered on 07 Jul 2011, 01:43 PM
Hi Sergi,

This behavior depends on the FlowLayoutPanel, which layouts its child controls depending on their size. You cannot dock the controls inside the flow layout panel. The controls in the panel do not fit all the available size. You can accomplish the desired behavior by setting the grid's width explicitly when the flow layout size is changed.

Regards,
Svett
the Telerik team

Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

Tags
GridView
Asked by
Sergi
Top achievements
Rank 1
Answers by
Svett
Telerik team
Share this question
or