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

[Solved] Export Dynamic Grid?

4 Answers 134 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Eric
Top achievements
Rank 1
Eric asked on 30 Sep 2009, 04:04 PM
I am creating one or more grids dynamically (I call a stored procedure and create one grid for each recordset returned) and I don't manage to get the Grid Export functionality to work (either client or server side).

Is it supposed to work to export a grid control created dynamically?


Thanks

Eric

4 Answers, 1 is accepted

Sort by
0
Accepted
Daniel
Telerik team
answered on 01 Oct 2009, 04:51 PM
Hello Eric,

It depends on the export format and the way you bind RadGrid. If you use NeedDataSource you shouldn't have any problems in such scenarios. However if you use ExcelML format and simple data binding or any other format combined with IgnorePaging, your output file will be empty because RadGrid will rebind itself.

Best regards,
Daniel
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Eric
Top achievements
Rank 1
answered on 01 Oct 2009, 05:00 PM
OK, I understand for the Server side but what about the Export on the client side?

I was assuming that one would simply use the data available on the client. Is that wrong?
0
Accepted
Daniel
Telerik team
answered on 07 Oct 2009, 10:55 AM
Hello Eric,

I'm afraid exporting with client-side binding is not supported.

Let me know if you need more information.

Kind regards,
Daniel
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Eric
Top achievements
Rank 1
answered on 07 Oct 2009, 12:03 PM
Daniel,


Thanks for your explanations.

I have finally settled for server side export and my end-users are (quite rightly) extremely pleased!


Many Thanks


Eric
Tags
Grid
Asked by
Eric
Top achievements
Rank 1
Answers by
Daniel
Telerik team
Eric
Top achievements
Rank 1
Share this question
or