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

Invalid Controller while loading dock state

Thread ID:

Created:

Updated:

Platform:

Replies:

53817 Dec 20,2006 03:49 PM Dec 22,2006 11:27 AM Windows Forms 7
loading
Tags: Tools
Sameer
Asked On December 20, 2006 03:49 PM

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

Murugan [Syncfusion]
Replied On December 20, 2006 07:27 PM

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

Sameer
Replied On December 21, 2006 12:33 PM

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


Murugan [Syncfusion]
Replied On December 21, 2006 02:12 PM

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

Sameer
Replied On December 21, 2006 03:17 PM

Hi Murugan,

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

Thanks
Sameer

Murugan [Syncfusion]
Replied On December 21, 2006 06:27 PM

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

Sameer
Replied On December 22, 2006 10:47 AM

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

Murugan [Syncfusion]
Replied On December 22, 2006 11:27 AM

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

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

;