Hi all,
I would like to open a file in Local drive using Asp.net,
And I have written the following code in user control which could open the file,
Response.AddHeader("Content-Disposition", "attachment; filename=" & strFilename)
Response.WriteFile("C:\\open\\" & strFilename)
Response.Flush()
Response.Close()
The above code working fine in .Net 2005, In SharePoint also I am able to open the file, But After opening the file I am unable to do Any operation in that page, I can do any operation once I refresh the page....
Any Suggestions???
Kindly revert back to me if u have concerns...
Thanks in Advance,
kumar.