I am facing an issue while copying content from RadGridView to Excel.
my RadGridView has a GridViewSelectColumn as first column, which must be ignored while copying.
When we select rows and copy the content, we are getting the first column header as 'System.Windows.Controls.CheckBox Content: IsChecked:False'
may i know how to avoid this.
I tried
private void copyingcontent(object sender, GridViewCellClipboardEventArgs e)
{
if (e.Cell.Column.DisplayIndex == 0)
{
e.Cancel = true;
}
}
but this didn't solve my issue. if possible provide solution with code snippet
there was same question long back
http://www.telerik.com/forums/issue-while-copying-content-from-radgridview
but the solution provided is not correct. sdk browser doesnt have this solution.the example shown in sdk browser is copying nly cell , not complete grid including headers.