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

Dock.Fill in Radgridview

2 Answers 236 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Nathan
Top achievements
Rank 1
Nathan asked on 14 Nov 2011, 08:34 PM
Anyone have ideas of why my dockstyle.fill is not working for radgridview inside a usercontrol (winforms).  I place the usercontrol inside a form and the usercontrol fills, but the radgridview stays same size.  Thanks

2 Answers, 1 is accepted

Sort by
0
Nathan
Top achievements
Rank 1
answered on 16 Nov 2011, 05:52 PM
figured it out, thanks
0
Stefan
Telerik team
answered on 18 Nov 2011, 09:48 AM
Hi Nathan,

Thank you for writing.

I am glad that you have found a solution for your case.

I have tested the described approach, but on my end RadGridView is docked fill. Attached you can find a sample application with this scenario. What I did is to create the user control, add grid in it and set the grid Dock property to Fill. Then I have added the user control to the form and I have set the user control Dock property to Fill. Let me know how this works on your end.

A bit off topic, I would like to kindly ask you to ask the license holder of your company to add you as a licensed developer to his account. This will allow you to download our latest products and to take advantage of uninterrupted support services.

I hope that you find this information helpful. Let me know if you have any additional questions.
 
All the best,
Stefan
the Telerik team

Q2’11 SP1 of RadControls for WinForms is available for download (see what's new); also available is the Q3'11 Roadmap for Telerik Windows Forms controls.

Tags
GridView
Asked by
Nathan
Top achievements
Rank 1
Answers by
Nathan
Top achievements
Rank 1
Stefan
Telerik team
Share this question
or