views:

26

answers:

1

Hi, How can I create a CustomValidator on Client Side for validating my file path from FileUpload?

Thanks

A: 

Hey,

Check this out: http://www.codedigest.com/CodeDigest/74-Validate-For-Invalid-File-in-ASP-Net-FileUpload-control.aspx

Brian
I have already done this validation, and it works if the typed path is valid. But if you put some invalid path (like only type "path") the postback will not occurs, and no message will be showed.
Victor
What do you mean by the postback does not occur? Are you trying to achieve a client-side validation?
Brian