Selecting a date with the Calendar control clears the FileUpload control

Discussion in 'ASP .Net Web Controls' started by Nathan Sokalski, Jan 11, 2007.

  1. I have an ASP.NET 2.0 webform which includes both a FileUpload contol and a
    Calendar control. When the user selects a new data with the Calendar
    control, the FileUpload control is reset (there is no longer a file selected
    if one was previously selected). I am assuming this is because the Calendar
    control causes a postback when a date is selected. Does anyone know of a way
    to prevent this from happening? Thanks.
    --
    Nathan Sokalski

    http://www.nathansokalski.com/
     
    Nathan Sokalski, Jan 11, 2007
    #1
    1. Advertisements

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. Shevek
    Replies:
    3
    Views:
    6,431
    Shevek
    Jun 23, 2004
  2. Peter Grison

    Date, date date date....

    Peter Grison, May 28, 2004, in forum: Java
    Replies:
    10
    Views:
    3,756
    Michael Borgwardt
    May 30, 2004
  3. Nathan Sokalski
    Replies:
    1
    Views:
    911
    Mark Rae
    Jan 11, 2007
  4. TD is PSP

    FileUpload clears on Insert

    TD is PSP, Apr 20, 2008, in forum: ASP .Net
    Replies:
    6
    Views:
    4,342
    lvcapsfan
    Dec 28, 2009
  5. Mufasa
    Replies:
    0
    Views:
    567
    Mufasa
    Sep 5, 2008
  6. Shevek
    Replies:
    0
    Views:
    547
    Shevek
    Jun 23, 2004
  7. Bob Hansen

    Calendar Control - Selecting a date in another month

    Bob Hansen, Oct 5, 2004, in forum: ASP .Net Web Controls
    Replies:
    1
    Views:
    234
    Robert Koritnik
    Oct 5, 2004
  8. Replies:
    0
    Views:
    307
Loading...