asp:PostBackTrigger ControlID=xlsExport
Showing posts with label Export To Excel from updatepanel. Show all posts
Showing posts with label Export To Excel from updatepanel. Show all posts
Tuesday, July 31, 2007
Export to Excel from UpdatePanel
If you gridview inside update panel, then when you export to excel on button click using Response.ContentType and Response.write method, you will get an error of Sys.Page... error. To overcome this, in the triggers section, have
asp:PostBackTrigger ControlID=xlsExport .
asp:PostBackTrigger ControlID=xlsExport
Subscribe to:
Posts (Atom)