Hello,
I have a solution contains radgrid in witch there are also template columns.
Calling the ExportToExcel method from a button event of export falls with the error:
"Object refernce" in pre-render of grid event, because of hiding the checkbox column.
And even if i skip the per-render code by flag, the export doesnt work.
Actually the export doesnt work and my grid on screen has no checkbox anymore but "false" in the column.
I have tried hiding the column, but nothing helps.
I have spent many hours reading same problems but none of the solutions helped me.
I also tried putting standard code of exporting, like gridview (with response and htmltextwriter) but it falls with error:
thanks,
gila
I have a solution contains radgrid in witch there are also template columns.
Calling the ExportToExcel method from a button event of export falls with the error:
"Object refernce" in pre-render of grid event, because of hiding the checkbox column.
And even if i skip the per-render code by flag, the export doesnt work.
Actually the export doesnt work and my grid on screen has no checkbox anymore but "false" in the column.
I have tried hiding the column, but nothing helps.
I have spent many hours reading same problems but none of the solutions helped me.
I also tried putting standard code of exporting, like gridview (with response and htmltextwriter) but it falls with error:
יש למקם את הפקד '
ctl00_contentBody_gridInviteds_ctl00_ctl02_ctl00_ctl00' מסוג 'GridLinkButton' בתוך תג טופס עם runat=server.
thanks,
gila