Export not displayed gridview

2 posts, 0 answers
  1. Alessio
    Alessio avatar
    8 posts
    Member since:
    Mar 2011

    Posted 24 Oct 2013 Link to this post

    Hi all,
    I try to export a GridView that is not displayed in the page.
    In code behind i create a gridview and then i have bound the data. It seems to be all right but when i export the grid to excel the column groups are not exported. The same object displayed in the page instead exports column groups correctly.

    Any idea? 

  2. Yoan
    Admin
    Yoan avatar
    1070 posts

    Posted 29 Oct 2013 Link to this post

    Hi,

    I suppose the reason for this issue is that your merged headers are not loaded, they rely on the already rendered GridView's Columns. Note that the RadGridView will export only the loaded elements. 

    Regards,
    Yoan
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
  3. DevCraft banner
Back to Top