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

How to export selected rows (only if the checkbos is checked) from GGC to excel

Thread ID:





104930 Aug 29,2012 11:05 AM UTC Aug 30,2012 06:59 AM UTC ASP.NET Web Forms (Classic) 1
Tags: Grouping
Asked On August 29, 2012 11:05 AM UTC



Please let me know how to export only selected row (rows in which checkbox is checked) to excel. Please let me know what I should include(in place of  ???) in the below code to achieve the same.

protected void RecordCheck_CheckedChanged(object sender, System.EventArgs e)


System.Web.UI.WebControls.CheckBox checkbox1 = (System.Web.UI.WebControls.CheckBox)sender;

GridRow gridrow = (GridRow)checkbox1.Parent.Parent.Parent;

if (checkbox1 != null)


if (checkbox1.Checked == true)


GridExcelExport excel = new GridExcelExport(???, fileName);

excel.ExportNestedTable = true;







Arun Kumar V [Syncfusion]
Replied On August 30, 2012 06:59 AM UTC

Hi Varsha,

Please refer the following forum post for answer.

Arun Kumar V


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