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

[Solved] Exporting Grid in Console Application

1 Answer 136 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Eric
Top achievements
Rank 1
Eric asked on 25 Apr 2009, 07:55 PM
I am attempting to programmatically setup and databind the Rad Grid in a Console application in order to automatically export the grid contents on a scheduled time frame to a user.

I am able to get the DataBind() call to work by creating a Page object and adding the RadControl object to the page, and successfully fill the grid with data, however the GridExporting event will not fire when calling ExportToCSV()

I do have the event setup correctly.

Is this approach possible? 

Thanks,

Eric

1 Answer, 1 is accepted

Sort by
0
Tsvetoslav
Telerik team
answered on 28 Apr 2009, 01:51 PM
Hi Eric,

This scenario is not possible. You can create and data bind the grid but in a console application there is no http response object to which you can send its contents.

Best Regards,
Tsvetoslav
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Grid
Asked by
Eric
Top achievements
Rank 1
Answers by
Tsvetoslav
Telerik team
Share this question
or