By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
428,558 Members | 1,603 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 428,558 IT Pros & Developers. It's quick & easy.

Using open/save dialog box inside Update Panel

P: 2
I have used open/save dialog box inside update panel in asp.net.but it is not working because of the code line Response.WriteFile(path);.Can i use any thing else for opening a file through open/save dialog box.Waiting for replies...

My code for opening the file:

Response.Clear();
Response.ClearContent();
Response.ClearHeaders();
Response.AppendHeader("content-disposition",
"attachment; filename=" + name);
Response.ContentType = "Application/msword";
Response.WriteFile(path);
Response.Flush();
Response.Close();
Response.End();
Apr 25 '07 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.