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.

MemoryLeak

Thread ID:

Created:

Updated:

Platform:

Replies:

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

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 03:36 AM

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 04:33 AM

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.

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.

;