FileUpload control

Discussion in 'ASP .Net' started by DavidC, Jan 8, 2010.

  1. DavidC

    DavidC Guest

    I am using the asp.net FileUpload control and it works fine. However, I want
    to add the file name to a listbox right after the user browses and selects
    it. I can do it once the postback occurs but I would like to have it display
    as soon as the user selects it and then have the FileUpload textbox clear out
    to select another file. Any ideas on how I can make this work is appreciated.
    --
    David
    DavidC, Jan 8, 2010
    #1
    1. Advertising

  2. It sounds like you may want to look into using a little AJAX.
    --
    Nathan Sokalski

    http://www.nathansokalski.com/

    "DavidC" <> wrote in message
    news:...
    >I am using the asp.net FileUpload control and it works fine. However, I
    >want
    > to add the file name to a listbox right after the user browses and selects
    > it. I can do it once the postback occurs but I would like to have it
    > display
    > as soon as the user selects it and then have the FileUpload textbox clear
    > out
    > to select another file. Any ideas on how I can make this work is
    > appreciated.
    > --
    > David
    Nathan Sokalski, Jan 8, 2010
    #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. Uncle Ben

    ASP.NET 2.0 FileUpload control

    Uncle Ben, Mar 23, 2005, in forum: ASP .Net
    Replies:
    5
    Views:
    3,780
    Bruce Barker
    Mar 23, 2005
  2. Eric

    FileUpload control.

    Eric, Dec 26, 2005, in forum: ASP .Net
    Replies:
    4
    Views:
    5,788
    Ankho
    Nov 3, 2009
  3. Nathan Sokalski
    Replies:
    1
    Views:
    740
    Mark Rae
    Jan 11, 2007
  4. eamon

    FileUpload Control & Image Control

    eamon, Aug 4, 2005, in forum: ASP .Net Web Controls
    Replies:
    2
    Views:
    200
    eamon
    Aug 4, 2005
  5. Nathan Sokalski
    Replies:
    0
    Views:
    249
    Nathan Sokalski
    Jan 11, 2007
Loading...

Share This Page