Persisting expanded groups when exporting to Excel (HTML)

Thread is closed for posting
1 posts, 0 answers
  1. 63F75A2C-1F16-4AED-AFE8-B1BBD57646AD
    63F75A2C-1F16-4AED-AFE8-B1BBD57646AD avatar
    1572 posts
    Member since:
    Oct 2004

    Posted 02 Aug 2011 Link to this post

    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

This Code Library is part of the product documentation and subject to the respective product license agreement.