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. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Add controls to SplashPanel

Thread ID:

Created:

Updated:

Platform:

Replies:

51517 Nov 7,2006 04:02 PM UTC Nov 8,2006 09:57 PM UTC WinForms 3
loading
Tags: Tools
Administrator [Syncfusion]
Asked On November 7, 2006 04:02 PM UTC

This must be a stupid question, but I don't seem to be able to add controls to a SplashPanel. I put a SplashPanel on a form, and tried to place a label on the SplashPanel. But the label would belong to the form, but not the SplashPanel.
Can someone tell me how to do that?
Thanks.
FS

Gopalakrishnan S [Syncfusion]
Replied On November 7, 2006 07:57 PM UTC

Hi,
Sorry for the inconvenience. This is a known issue and this has been fixed in version 4.3.
However, you can add the child control to the SplashPanel through in code also.
ex:
this.splashPanel1.Controls.AddRange(new System.Windows.Forms.Control[] {this.Label1});

Thanks for your interest in Syncfusion products.
Regards,
S.Gopal.

Administrator [Syncfusion]
Replied On November 8, 2006 07:17 PM UTC

Hi Gopal,
Thanks for the reply. It works somewhat: if it is a dynamically created control, then it can be added to SplashScreen. If the control is already added to the form using VS designer, then it still doesn't work.
FS

Purusothaman R [Syncfusion]
Replied On November 8, 2006 09:57 PM UTC

Hi,

In the Versions prior to 4.3, when a Control (say myButton) is added to the SplashPanel, code is wrongly created as

this.Controls.Add(this.myButton);

instead of

this.mySplashPanel.Controls.Add(this.myButton);

This is the reason why, controls are not added to the SplashPanel automatically. This was a known issue and it has been fixed in v.4.3.

You can download the latest version which includes this fix.

Thanks,
Purusothaman.R

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

;