Issue with FileUpload control
.NET (Core and Framework)
1
Posts
1
Posters
0
Views
1
Watching
-
Hi all, I come across an interesting observation while working for a project. We have a FileUpload control and some other input fields in the form. we are doing validation from the server side and throwing javascript error if some condition is not satified. Java script "confirm" method is used to take user decision to go ahead with form submission with the existing values. If user clicks ok the form is re-submitted which is making the FileUpload control selected file information lost. Is there any alternative? could you please advice.
Thanks Harinath India