Smartparts and workspace do not resize in modal window

Topics: CAB & Smart Client Software Factory
Dec 17, 2007 at 7:32 AM
Hello,

I am trying to show a specific form using the ModalWorkspace through code below:

SamplePageController.ShowPage(WorkItem, "Page Name", WorkItem.WorkspacesGSC.Standard.Infrastructure.Interface.WorkspaceNames.ModalWindows);

And when doing this, I was able to show the said form modally but the smartpartinfo Form inside is not maximized in the CAB Modal Window and does not resize accordingly.

Please help.

Thanks.
Dec 17, 2007 at 1:42 PM
Hi

The fastest workaround is to set the SmartPart.Dock property to DockStyle.Fill.

These topics also deal with the same problem. You may find them handy:
Please let me know if this helps.

Ignacio Baumann Fonay
http://staff.southworks.net/blogs/ibaumann/
Dec 19, 2007 at 8:28 AM
That did the trick.

Thank you so much.