Please help me! I have tried all options. Nothing works!
I have 2 hyperlinks, Report1 & Report2. On click of Report1, a html table
(report) is being displayed on a child frame. On this child page i have a
link "Export to Excel", on the click of which the report is getting saved in
excel. The code is:
Response.ContentType = "application/vnd.ms-excel"
Response.AddHeader("content-disposition", "attachment; filename=Report.xls")
The excel report gets created. But the problem is: if I click on Report2
hyperlink, the second report is not displayed. The same first report is
displayed. On click of :"ExportToExcel", if i click on "Cancel" in Save As
dialogbox and then click on Report2, the new report IS DISPLAYED!
Surprising!!!!
I tried all possible things like reponse.Clear, etc. Nothing works!!!
Someone please help me get over this problem!!!!
Regards,
Spacy