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.

Unable to reload the form_Load method of windows form

Thread ID:

Created:

Updated:

Platform:

Replies:

117110 Aug 14,2014 03:35 AM Aug 19,2014 07:57 AM Windows Forms 3
loading
Tags: XPTaskbar
Rakhesh Rao
Asked On August 14, 2014 03:35 AM

i had created one sample using the dockingManager and added the XPTaskBars to docking manager , i added custom windows form which are derived from Office2007Form of syncfusion , in that form i had written some code in the formload , when first time opens the form , formload method is fired, if close and open again that form load is not calling again , is their any property to be set for xptaskbar or docking manager ,i thought it was stored in the docking cache. can you tell the solution for above problem.

Senthil Kumaran Rajan [Syncfusion]
Replied On August 18, 2014 06:42 AM

Hi Rakhesh,

 

Thank you for using Syncfusion products,

 

We regret to let you know that we are unable to reproduce the reported behavior in our end. We have prepared a sample for your reference and it is attached below. Please check whether we have followed the same steps to reproduce the reported behavior, If not please share a sample or a reproducing steps. That will be helpful for us to analyze and provide you a prompt solution as earlier as possible.

 

Please let us know if you need any further assistance,

 

Regards,

R.Senthil kumaran


Attachment: DockingManager_a892d5ee.zip

Rakhesh Rao
Replied On August 18, 2014 08:33 AM

Hi Senthil Kumaran Rajan,

yours sample project is not followed my reproducible steps ,to reproduce i had created sample project you can find in the attachment. in the sample when user clicks on form1 icon it will shows message as form load1 ,this should be shown for each time clicks on the form1 icon.
can you rectify the problem of my sample project and send me.

thanks in advance.

Attachment: DockingManager_febf22ac.zip

Senthil Kumaran Rajan [Syncfusion]
Replied On August 19, 2014 07:57 AM

Hi Rakesh,

 

Thank you for your update,

 

In MDI form when a form is shown by calling the form.show() method the form's load event will get called only once and if it is closed and reopened it is needed to reinitialize the object of the form that is used for showing. On further analysis with the system's default form the behavior is confirmed as the intended behavior which is same as in Office2007Form. Please reinitialize the object to achieve your requirement as shown in the below attached sample and let us know if it helps you.

 

Please let us know if you have any concern,

 

Regards,

R.Senthil kumaran.


Attachment: DockingManager_6e3dbe49.zip

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.

;