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

ResetVolatileData and how can I know when its called

Thread ID:





17335 Aug 5,2004 10:18 PM UTC Aug 6,2004 02:54 PM UTC WinForms 1
Tags: GridControl
Sue Harris
Asked On August 5, 2004 10:18 PM UTC

Hi, I want to hold an additional cache of data about my virtual grid in a override class of the GridControl, and whenever the volatile data is reset (via the ResetVolatileData method), I want to also reset my data cache. I noticed in the code that there was a NotifyResetVolatileData event, but it is internal not public or protected. Do you have any suggestions on how I can know when to reset my caches? Thanks, Sue

Administrator [Syncfusion]
Replied On August 6, 2004 02:54 PM UTC

Hi Sue, if you look at the ResetVolatileData code you also see these lines: if (gridVolatileData != null) gridVolatileData.Clear(); This is where you can implement a hook. VolatileData is a object that you can replace. What you should do is derive a class from GridVolatileData and override its Clear method. You need to assign a instance of your derived volatile data object to the GridModel.VolatileData property. Stefan


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

Live Chat Icon For mobile
Live Chat Icon