Click here to Skip to main content
15,892,537 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi all,

how to write validation script for fileupload contol in aspx page.

please help me.

thank and regards
Santhiosh
Posted
Comments
Sandeep Mewara 19-Jan-13 15:29pm    
What validation are you looking for? Extension? Size? What?

1 solution

Take a look at following link:
http://adamsanderson.github.com/jQuery-File-Validator/[^]

Its mentioned in the link that there is a caveat to this solution. It might work in some browsers and not in some browsers. File Upload validation cannot be relied only on client-side validation. It is better to do it server side as well.
 
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