FileUpload & RequiredFieldValidator

T

tsw_mik

Hello

I have a FileUpload control. With a RequiredFieldValidator I check if
there is any text in it. If there is then I upload the file and process
it (by clicking a button). But when a button is clicked the FileUpload
text field becomes empty and the page does not allow user to go to
another page (because the RequiredFieldValidator does not allow it).
How to avoid flushing the text field from FileUpload control or how to
add some text to it automatically?

MM
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

Forum statistics

Threads
473,982
Messages
2,570,190
Members
46,736
Latest member
zacharyharris

Latest Threads

Top