views:

6

answers:

0

I have a Carousel ..in which I have different images...and on clicking one image...it will call a webmethod through AJAX....and will down load excel sheet with "save/open/saveas" options...that is using following code.

Response.ClearHeaders();
Response.Clear();
Response.AddHeader("Content-Disposition", "attachment; filename=r.xls");
Response.ContentType = "application/vnd.ms-excel";

But the issue is I am getting "Thread aborted" error...

Please help :( Thanks in advance !