Save As file Dialog

Discussion in 'ASP .Net Web Controls' started by bgiswaiting, Dec 14, 2004.

  1. bgiswaiting

    bgiswaiting Guest

    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.
     
    bgiswaiting, Dec 14, 2004
    #1
    1. Advertising

  2. "bgiswaiting" <> wrote in message
    news:...
    >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
     
    John Saunders, Dec 14, 2004
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Kapil

    Save file dialog in asp.net

    Kapil, Apr 8, 2004, in forum: ASP .Net
    Replies:
    2
    Views:
    12,777
    taviram
    Dec 20, 2009
  2. Ryan Moore

    File save dialog

    Ryan Moore, Apr 8, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    3,264
    Bruno Sirianni
    Apr 9, 2004
  3. BusyBoy
    Replies:
    2
    Views:
    631
    =?Utf-8?B?TGVvbiBNYXluZQ==?=
    Oct 31, 2006
  4. boris
    Replies:
    1
    Views:
    1,912
  5. hell2heaven
    Replies:
    0
    Views:
    437
    hell2heaven
    Oct 26, 2008
Loading...

Share This Page