Click here to Skip to main content
15,885,546 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have an ASP.Net page with a FileUpload control within it. I used a RequiredFieldValidator with the FileUpload control.

All works fine while adding any data, but while editing it does not proceed until I upload a new file.

Any Idea, how to resolve this?
Posted
Comments
Ankur\m/ 10-Sep-10 5:17am    
What do you mean by 'editing it'? You can browse for a file. In case you didn't want the selected file you choose to browse again and select a new file.

1 solution

In edit mode when the page loads, you can disable the validation for fileupload control.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900