Click here to Skip to main content
14,644,614 members
Rate this:
Please Sign up or sign in to vote.
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

Rate this:
Please Sign up or sign in to vote.

Solution 1

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

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




CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100