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.
Syncfusion Feedback

MemoryLeak

Thread ID:

Created:

Updated:

Platform:

Replies:

30148 Jun 13,2005 06:05 AM UTC Jun 13,2005 08:33 AM UTC Windows Forms 2
loading
Tags: GridControl
Administrator [Syncfusion]
Asked On June 13, 2005 06:05 AM UTC

I have used the gridcontrol in my application. Also I have associated a Context menu with it and handled the popup event. When I tested the application with memory profilers i found live instances of gridcontrol even after the form in which it is present is closed. I found memory leaks only when the context menu is popped up. I would like to know whtether there are any memory leak issues in using gridcontrol?

Administrator [Syncfusion]
Replied On June 13, 2005 07:36 AM UTC

Suresh, make sure that if you wired events for the grid or context menu (e.g. in the InitializeComponemnt method) that you also unsubscribe to those events from the forms Dispose method. Optionally you call also additionaly call Dispose() for the context menu and the grid control from within the Forms Dispose method. Let us know if that did not help. Stefan > >I have used the gridcontrol in my application. Also I have associated a Context menu with it and handled the popup event. When I tested the application with memory profilers i found live instances of gridcontrol even after the form in which it is present is closed. I found memory leaks only when the context menu is popped up. > >I would like to know whtether there are any memory leak issues in using gridcontrol?

Administrator [Syncfusion]
Replied On June 13, 2005 08:33 AM UTC

Thanks. It works

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

;