Author: ankurtandon | Posted on: 3/14/2009 5:09:10 AM | Views : 458

hi,
i am using a back button functionality on the pages by...
ImgBtnBackward.PostBackUrl = Page.Request.UrlReferrer.AbsoluteUri;

i worked fine untill i used the code....
string newpath = Server.MapPath("Doc" + "/" + obj.dr["filepath"].ToString());
Response.ClearContent();
Response.AppendHeader(@"Content-Disposition", "attachment; filename=" + obj.dr["filepath"].ToString());Resp ...

Go to the complete details ...