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.

SplitContainerAdv Loses Controls in split Panels

Thread ID:

Created:

Updated:

Platform:

Replies:

70482 Dec 12,2007 10:23 AM Dec 14,2007 05:21 PM Windows Forms 3
loading
Tags: Tools
Qingde Shi
Asked On December 12, 2007 10:23 AM

Hi,

I am using Syncfusion 5.2. and I am having problem with SplitContainerAdv.

In design mode, the SplitContainerAdv sometimes loses the controls in its split panels, only show bank panels. but the designer generated codes still have something like:
this.splitContainerAdv1.Panel1.Controls.Add(this.myControl1);
this.splitContainerAdv1.Panel2.Controls.Add(this.myControl2);

when this happened, close the form and reopen it, Most of time, the controls will show up in the split panel again.
However, sometimes the above designer generated codes would get lost completely, I have to mannualy add them back.

Any ideas about this behavior?

Many thanks in advance.

Q



Sri Rajan [Syncfusion]
Replied On December 13, 2007 07:07 PM

Hi Q ,

I am not sure of what might be causing this strange behavior without a working sample. I have tested this issue in a simple application with Essential studio V.5.1.1.0. But i was not able to reproduce the issue. I have attached my test sample.

http://websamples.syncfusion.com/samples/Tools.Windows/F70482/main.htm

Is it possible for you to upload us a minimal sample or modify the attached sample to reproduce the issue here? This will help us to analyze the issue further.

Thanks for using Syncfusion product.

Regards,
Srirajan


Qingde Shi
Replied On December 14, 2007 10:24 AM

Hi Srirajan,

I have found a workaround and maybe the possible origin of the problem.

The problem happens for User Controls placed directly into the split panel. once the user control get recompiled, the problem will likely to happen. However, if place the Microsoft Control, like the System.Windows.Forms.Panel into the split panel first, then place user controls into the System.Windows.Forms.Panel, there will be no such problem.

Wethere or not this might lead you to uncover the reason for the problem, it seem to be a workaround for me.

Thanks,

Q



>Hi Q ,

I am not sure of what might be causing this strange behavior without a working sample. I have tested this issue in a simple application with Essential studio V.5.1.1.0. But i was not able to reproduce the issue. I have attached my test sample.

http://websamples.syncfusion.com/samples/Tools.Windows/F70482/main.htm

Is it possible for you to upload us a minimal sample or modify the attached sample to reproduce the issue here? This will help us to analyze the issue further.

Thanks for using Syncfusion product.

Regards,
Srirajan




Sri Rajan [Syncfusion]
Replied On December 14, 2007 05:21 PM

Hi Q,

I was able to reproduce this issue in v.5.2.0.25.l. Please create a Direct-Trac incident (mention the forum link in the subject line) so that we will fix this issue we update you with the fix.

Please let me know if you have any questions.

Thanks for using Syncfusion product.

Regards,
Srirajan



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.

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.

;