We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Resize GradientPanelExt and controls on it

Thread ID:

Created:

Updated:

Platform:

Replies:

95232 Jun 28,2010 10:43 AM UTC Jul 1,2010 12:32 PM UTC Windows Forms 6
loading
Tags: GridControl
Vaibhav Sanghavi
Asked On June 28, 2010 10:43 AM UTC

Hi

I am dyncamically creating a form in my code and adding a GradientPanelExt as its control. This panel has two GridGroupingControls and few buttons on it. I want to resize my panel and grids along with it when user maximizes my dialog box (form).

How can I do that?

Thanks,
Vaibhav

Jisha Joy [Syncfusion]
Replied On June 29, 2010 10:06 AM UTC

Hi Vaibhav,

Thank you for using Syncfusion products.

You could use Anchor or Dock property of the GridGroupingControl to arrange them in the panel. Then if the panel reizes, then grid will also resizes accordingly.

Regards,
Jisha

Vaibhav Sanghavi
Replied On June 30, 2010 05:58 AM UTC

Thanks for response.

Basic problem is that panel doesn't get resized when I resize form window even if AutoSize is true and AutoSizeMode is GrowOnly. How can I do that?

Jisha Joy [Syncfusion]
Replied On June 30, 2010 09:43 AM UTC

Hi Vaibhav,

Thank you for your update. You could dock or anchor the panel with repect to the form. Then when the form resizes panel will also get resized.

Please let me know if this helps.

Regards,
Jisha

Vaibhav Sanghavi
Replied On July 1, 2010 05:29 AM UTC

I tried two combinations
1) Anchor Top, Left and Doc = Fill
2) Anchor = Top, Left, Bottom, Right adn Doc = None

In both cases panel does get resized with form. Any suggestions?

Jisha Joy [Syncfusion]
Replied On July 1, 2010 12:32 PM UTC

Hi Vaibhav,

Thank you for your update. Please refer the attached sample in which the panel has been docked to fill the form and it is getting resizing unpon resizing the from.

Regards,
Jisha

Jisha Joy [Syncfusion]
Replied On July 1, 2010 12:32 PM UTC

Please find the sample.

Regards,
Jisha



Resizingform_11bed2fa.zip

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;