if i write btnExcel.Enabled = true; after below statement then why not executed.
Collapse | Copy Code
Rpt.ExportToHttpResponse(ExportFormatType.Excel, Response, true, "Report");
ie.
Collapse | Copy Code
Rpt.ExportToHttpResponse(ExportFormatType.Excel, Response, true, "Report");
btnExcel.Enabled = true;
ok someone gave me solution
that is
Collapse | Copy Code
It overrides the response object so the disabled portion of the button is not getting included in the response object. so use javascript before or after this event to disable the button.
i use javascript before or after this event to disable the button.
still not working?