Export only Visible Columns in Grid View

3 posts, 1 answers
  1. Ernie S
    Ernie S avatar
    33 posts
    Member since:
    Apr 2014

    Posted 24 Jul 2014 Link to this post

    I am found the option to export Telerik.Windows.Controls.GridView.Export() method and the GridViewExportOptions.  But when I do the export it does it on all columns even if only one is set to visible.  I see the option ToCsv() and ToExcel() and can probably refactor them in but was hoping for something more direct since these tables can get big.  Is there?

  2. Answer
    Dimitrina avatar
    3769 posts

    Posted 25 Jul 2014 Link to this post

    Hi Ernie,

    I tested exporting not visible column (configured with IsVisible="False") and they were not exported.

    May I ask you to share more details on the exact setup you have?

    Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
  3. DevCraft banner
  4. Ernie S
    Ernie S avatar
    33 posts
    Member since:
    Apr 2014

    Posted 30 Jul 2014 in reply to Dimitrina Link to this post

    Ok, well this is strange.  Now I cannot get it to reproduce the behavior and it only exports visible columns and I was positive about the code.  But thank you for the response.  Guess it is just one of those things...

Back to Top