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.

FlowLayout - Hangs when screen is invisible

Thread ID:

Created:

Updated:

Platform:

Replies:

49705 Sep 25,2006 06:15 AM Sep 29,2006 02:58 PM Windows Forms 2
loading
Tags: Tools
Badri Rajani Kanth
Asked On September 25, 2006 06:15 AM

Dear Syncfusion,

We are using V 4.2.0.37.

I have a screen, having a panel called pnlLinklabels (with AutoScroll = true) and flowlayOut controls.
I want to load linklabel controls dynamically into the panel and arrange all linklabels into flow layout.
My screen will be pooled when it is closed (hidden) and reused when opned again.

Now the issues is, when I am re-opening the form, pnlLinklabels.Controls.Clear(); hangs.
pnlLinklabels is the ContainerControl for flowLayout.

Finally i understood that, i can only populate pnlLinklabels after the screen is visible.
i.e., Calling the population code in the screen visible changed event.

So, I just want to clarify from you that will flowLayout has any issues with visibility?
And is it the case with all other lay out controls?

Rgds
Rajani Kanth

Mano J [Syncfusion]
Replied On September 29, 2006 02:00 PM

Hi Rajani Kanth,

Our sincere apologises for the delay in responding. I have created a test sample as per my understanding and I am unable to reproduce the issue.

Could you please try modifying the sample to show the problem?.

Thanks,
Mano

Test_sample.zip


Badri Rajani Kanth
Replied On September 29, 2006 02:58 PM

Thank You Mano,

As a work around, I am checking the screen visibility and populating controls only when screeen is visible. Now it is fine.

Thank you again.
Rajani Kanth

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.

;