SetControlSize method

dockingManager.SetControlSize does not work. to recreate: add panel.Make it dockable and call SetControlSize method with new size struct. Event panel1_SizeChanged will indicates size change , but dockable panel remain with the same widht,wich was assigned at design time. Thanks.

7 Replies

MU Murugan Syncfusion Team July 18, 2006 12:38 AM UTC

Hi Roman, Sorry for the inconvenience caused. I could not reproduce the issue. Please send me sample or modify the attached sample and also mention the Syncfusion and .NET versions for further analysis. Please go through that and let me know if you need more assistance. Thanks for choosing Syncfusion products. Regards, Murugan P.S Docking.zip


RK Roman Konstnkevitch July 18, 2006 03:57 PM UTC

Attachment provided

SetControlSizeTest.zip


MU Murugan Syncfusion Team July 18, 2006 06:25 PM UTC

SetControlSizeTest.zip
Hi Roman, I have modified your sample. There is no need to resize the panel explicitely. Because SetControlSize method will resizes the panel. Please go through the sample and let me know, if you have any queries. Thanks for choosing Syncfusion products. Regards, Murugan P.S


AD Administrator Syncfusion Team July 19, 2006 01:12 PM UTC

I don''t see any modification so far. Please specify where modification has been done.


AD Administrator Syncfusion Team July 19, 2006 01:51 PM UTC

Follow Up.
Huh!! i see , Sorry. I probably entered that code by mistake. Seems to me it did not work yesterday.

Another thing.
Location_Changed event does not come when panel become floating. So how to save state and location of each panel, and how to serialize panel using my own file?,because recently I found complain that docking manager serialization does not work right.

With Regards, Roman


RK Roman Konstnkevitch July 20, 2006 02:56 PM UTC

Please respond to my last qestion asap.
With regards, Roman


MU Murugan Syncfusion Team July 20, 2006 03:10 PM UTC

Hi Roman,

I have attached the sample to get the location of floating and docked controls. Please go through this and let me know if you have any queries.

Regards,
Murugan P.S

Docking.zip



Loader.
Up arrow icon