We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Exception when using GridExcelExport in masterpage

Thread ID:





94440 May 13,2010 08:11 AM UTC May 18,2010 12:20 PM UTC ASP.NET Web Forms (Classic) 2
Tags: GridGroupingControl
jeren norman
Asked On May 13, 2010 08:11 AM UTC

Hello guys,

I have an exception ArgumentOutOfRangeException when I export the gridgoupingcontrol which's involved in a masterpage (content --> ContentPlaceHolder) by GridExcelExport.

//--- That's the code for exporting..

GridExcelExport excel = new GridExcelExport(this.GridGroupingControl1,"abc.xls");

excel.ExportNestedTable = true;

It's alright if I export in a simple asp.net page.

Have any idea?

jeren norman
Replied On May 13, 2010 09:29 AM UTC

there're some comments.. cause the exception

1. the contentPlaceHolder is involved in UpdatePanel
2. the grid have control embedded
3. the grid have no any record

Bharath M [Syncfusion]
Replied On May 18, 2010 12:20 PM UTC

Hi Jeren,

Thanks for update.

We suggest you to add a condition that "GridGroupingControl1.DataSource != null" before calling "excel.Export()" function.

Let me know if you have any concerns.



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon