This is a migrated thread and some comments may be shown as answers.

Create New RadGrid Invisibly to Export Contents

1 Answer 34 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Deepak Vasudevan
Top achievements
Rank 2
Deepak Vasudevan asked on 02 Mar 2012, 04:20 PM
Dear Telerik Team,

Let me know if the following approach would work out.

1) Page.aspx displays a RadGrid with a number of customizations user can  do on it to show the data.
2) Page.aspx has a button called 'Generate PDF'. When I click it, is it possible to create a new instance of RadGrid, assign the existing grid value to it (BYVAL and not BYREF). Then export the PDF from the new instance of RadGrid.

Basically I want to do this because I can not call 'Rebind' on the existing grid and/or visually make any changes on the existing grid. The new grid should be invisible totally only for the purpose of PDF.

1 Answer, 1 is accepted

Sort by
0
Casey
Top achievements
Rank 1
answered on 02 Mar 2012, 04:34 PM
Deepak,

Do you just need to hide columns for the export? Are you trying to do other things with the RadGrid when exporting it? I'm just a little confused as to what is going to be different between the two RadGrids.

Could you please elaborate what needs to be different between the first RadGrid and the export?

Thanks!
Casey
Tags
Grid
Asked by
Deepak Vasudevan
Top achievements
Rank 2
Answers by
Casey
Top achievements
Rank 1
Share this question
or