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: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Issues with PerformLayout method

Thread ID:





67817 Aug 30,2007 07:29 PM UTC Jan 2,2008 07:27 AM UTC WinForms 1
Tags: Tools
Danny F.
Asked On August 30, 2007 07:29 PM UTC


I was having problems with the PerformLayout method when i init my screen.
the problem is that somehow the PerformLayout raises the CreateControl event before it's even finishes the mechanism (add the controls to the screen) which causes error due to the fact that in the OnCreateControl method I need the controls to be in the screen already.

Notice that I was using Ver. 4 something and everything was working just fine (performlayout didn't raisen the event), but now I have the newest ver. .

I don't know why but when I am not adding Microsoft controls to the screen but only Syncfusion the performlayout working just fine.
And another thing - I think that maybe somehow the fact that my screen contains a DetailsCtrl (TabControlAdv) has to do with the problems that I have.

Thank You,

Bhuvaneswari P [Syncfusion]
Replied On January 2, 2008 07:27 AM UTC

Hi Danny,

Sorry for the delay in Response.

Thanks you for your interest in Syncfusion products.

The PerformLayout raises the CreateControl event

I am afraid that I was not able to reproduce the issue, when we call the PerfomLayout method, it doesn't raise the CreateControlEvent.

Here is the sample that I have used to tested this issue.

Please take a look into the sample and could you please modify the sample with reproduce steps to reproduce the issue. So that we would be able to reproduce the issue in our side and investigate further on this issue.

Please let me know if you have any questions.

Best Regards,


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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