Sushant Torankar

Sushant Torankar

  • 1.5k
  • 251
  • 27.2k

File upload issue

Oct 9 2024 7:39 PM

Hello, I have file upload in one page inside Update panel, with 2 buttons in it.

On one button click, i am checking validation of file upload and on second button click i want to save file in filepath and filename in db

But now, i get fileupload hasfile property =false sometines, on second button i get hasfile to false. Mabe file is getting null on first button click.

so how to achive it, check validation on first button and save filepath and file on second button?

I have also tried Trigger in UpatePanel, still no luck

Thank You advance


Answers (2)