Intersoft WebGrid Documentation
How-to: Use CacheToDisk feature to reduce memory usage
See Also Send comments on this topic.

Glossary Item Box

In exporting WebGrid, you can use cache to disk feature to reduce memory usage and memory performance enhancement.

To enable the CacheToDisk in WebGrid

  1. Drag WebGrid to the WebForm.
  2. Go to WebGrid properties, server side event.
  3. Attach the WebGrid Export event into the WebGrid.
  4. Specify the CacheToDisk property to True.

    C# Copy ImageCopy Code
    private void WebGrid1_Export(object sender, ISNet.WebUI.WebGrid.ExportEventArgs e)
    {
    e.ReportInfo.CacheToDisk = true;
    }

  5. Run the project.

See Also

©2012 Intersoft Solutions Corp. All Rights Reserved.