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. Image for the cookie policy date

Invalid Controller while loading dock state

Hi,

I am getting invalid controller exception. I am using 4.201.0.37 syncfusion dlls. I have attached sample for that. And steps to reproduce are as below.

- Tab two controls.
- Float by dragging it outside form
- close one control on clicking X
- Save dock state
- Load doc state then it give Invalid Controller message

Thanks
Sameer

Docking5.zip

7 Replies

MU Murugan Syncfusion Team December 21, 2006 12:27 AM UTC

Hi Sameer,

I have checked the sample. You have canceled DockVisibilityChanging event of docked control. This is the cause of the issue.

Herewith I have attached the modified sample. Please have a look at this and let me know if it meets your requirements.

Docking_XML

Thanks for choosing Syncfusion products.

Regards,
Murugan P.S


SA Sameer December 21, 2006 05:33 PM UTC

Hi,

commenting arg.Cancel=true statement does not meet my requirement as It was used to close only one tab. After commenting this if you click on x all tabs gets closed. And this is the sample provided in one of syncfusion forum to close only single tab. If you have any other work around please send me.

Thanks
Sameer



MU Murugan Syncfusion Team December 21, 2006 07:12 PM UTC

Hi Sameer,

Please modify your Load button click event handler code snippet as follows

private void button2_Click(object sender, System.EventArgs e)
{
flag=false;
SetDockingState( this.xmlDockString );
}

and let me know if it helps.

Thanks,
Murugan P.S


SA Sameer December 21, 2006 08:17 PM UTC

Hi Murugan,

I changed code according to your suggestion but it still not resolved.

Thanks
Sameer


MU Murugan Syncfusion Team December 21, 2006 11:27 PM UTC

Hi Sameer,

I have modified the sample. Here it works fine. I have also attached the video file that shows the execution.

Please try this sample and let me know if it helps.

Docking_XML.zip

Thanks,
Murugan P.S


SA Sameer December 22, 2006 03:47 PM UTC

Hi Murugan,

I saw your vedio file. You are missing steps I have told you that It happends with tabbed floating not just simple one control float.
Here are steps again for your reference
- Tab two controls.
- Float by dragging it outside form
- close one control on clicking X
- Save dock state
- Load doc state then it give Invalid Controller message

Thanks
Sameer


MU Murugan Syncfusion Team December 22, 2006 04:27 PM UTC

Hi Sameer,

Sorry the mistake in reproducing steps. Herewith I have attached the video. I have checked the issue with the given reproducing steps. We could not reproduce the issue here. Could you please provide me the video that shows the issue? I could see some hard behavior in v4.4. Are you upgraded to v4.4? Please let me know your Esential Studio version details if any upgrades.

Docking_XML

Thanks for your patience.

Regards,
Murugan P.S

Loader.
Live Chat Icon For mobile
Up arrow icon