Skip Navigation LinksHome / Community & Support / Code Library / ASP.NET and ASP.NET AJAX > Grid > Persisting expanded groups when exporting to Excel (HTML)

Not answered Persisting expanded groups when exporting to Excel (HTML)

Feed from this thread
  • Posted on Aug 2, 2011 (permalink)

    Requirements

    RadControls version Q3 2009 and later
    .NET version 3.5 and later
    Visual Studio version 2008 and later
    programming language C#/VB.NET
    browser support

    all browsers supported by RadControls


    PROJECT DESCRIPTION
    Sometimes it may be useful to persist the expanded groups when exporting RadGrid data. The attached example illustrates how to implement this functionality with few lines of code. This project relies on the ViewState to hold the information about the expanded groups.
    The PersistExpandedGroups method will be invoked before export and the RestoreExpandedGroups will be called on DataBound event.

Back to Top

Skip Navigation LinksHome / Community & Support / Code Library / ASP.NET and ASP.NET AJAX > Grid > Persisting expanded groups when exporting to Excel (HTML)