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

RAD GRID Export to Excel

3 Answers 52 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Chakravarthi
Top achievements
Rank 1
Chakravarthi asked on 19 Jan 2016, 03:15 AM

Hi All,

 

We are using Rad Grid control and paging. While Exporting to Excel, only the page 1 records are exporting in to Excel.

Can some one advise on how i can add both Paging and Export to Excel with out using Need Data source.

Thanks

3 Answers, 1 is accepted

Sort by
0
Eyup
Telerik team
answered on 21 Jan 2016, 09:18 AM
Hi Chakravarthi,

Try using the following property and let me know if it works for you:
<ExportSettings IgnorePaging="true">

Regards,
Eyup
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Shweta
Top achievements
Rank 1
answered on 27 Apr 2016, 09:48 AM
not worked for me ignorepaging=true
0
Eyup
Telerik team
answered on 02 May 2016, 07:46 AM
Hello Shweta,

Please make sure that you are not using DataBind() to bind the grid. Performing complex grid operations such as Inserting, Deleting, Updating, Hierarchy relations, Grouping, Exporting, Paging, Sorting, Filtering, etc. require accommodating appropriate database operations.  Therefore, we suggest you to avoid Simple Databinding and strongly recommend the use of more advanced databinding methods, which automatically handle the aforementioned functions:

Declarative DataSource (DataSourceID property)
Programmatic Data Binding (NeedDataSource event, + DetailTableDataBind for hierarchy). You should set the DataSource property only within these event handlers.

This should resolve the issue.

Regards,
Eyup
Telerik
Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
Tags
Grid
Asked by
Chakravarthi
Top achievements
Rank 1
Answers by
Eyup
Telerik team
Shweta
Top achievements
Rank 1
Share this question
or