File Upload on Postback
Last Post 02-18-2010 08:29 AM by David To. 2 Replies.
AddThis - Bookmarking and Sharing Button
Author Messages
James MotleyUser is Offline
wading in the water
wading in the water
Posts:19
Avatar

--
02-17-2010 08:51 AM

    I have a form with a file Upload field on it for logos. The form is fairly long with some hidden fields fired by question events. Whenever a question event forces the form to postback, the path which will be used for the File Upload is lost. Is there any way to prevent this unwated behavior?

    David ToUser is Offline
    river guide
    river guide
    Posts:2719
    Avatar

    --
    02-18-2010 07:42 AM
    HI, I don't personally know of a way to prevent this from happening. I'll discuss this with Chad to see what he thinks and will get back with you shortly. -- David
    David ToUser is Offline
    river guide
    river guide
    Posts:2719
    Avatar

    --
    02-18-2010 08:29 AM
    Hi, after consulting with Chad, this cannot be prevented since file uploads will not keep their viewstate on a form postback due to security reason of how ASP.NET is designed. The best advice is to place the file upload field as the last field on the form before the use clicks on submit. -- David


    ---
  • film izle
  • 720 izle
  • film
  • sinema izle
  • film makinesi
  • T�rk�e dublaj film
  • film izle
  • film izle
  • baglan film izle
  • sinema izle
  • 1080 film izle
  • film mercegi