Save As file Dialog

B

bgiswaiting

I have correctly implemented the code to display "XML Document" and "All
Files" in the 'Save as type' dropdown list control in the 'Save As' dialog in
Asp.net using C#. The code I used to do this is:
Response.ContentType="text/xml";
Response.AddHeader( "content-disposition","attachment;
filename=exporttest.xml");

I would like to add another file extension choice for the user. Is there a
way programmatically to add another choice in the 'Save as type' control. For
example I would like to give the user 3 options to save a file, XML, CSV, and
All Files.

Thank you,
B.G.
 
J

John Saunders

bgiswaiting said:
I have correctly implemented the code to display "XML Document" and "All
Files" in the 'Save as type' dropdown list control in the 'Save As' dialog
in
Asp.net using C#. The code I used to do this is:
Response.ContentType="text/xml";
Response.AddHeader( "content-disposition","attachment;
filename=exporttest.xml");

I would like to add another file extension choice for the user. Is there a
way programmatically to add another choice in the 'Save as type' control.
For
example I would like to give the user 3 options to save a file, XML, CSV,
and
All Files.

I'm curious. Which "save as type' control are you referring to?

John Saunders
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,014
Latest member
BiancaFix3

Latest Threads

Top