使用asp.net(.aspx)中的jquery进行文件上传验证 [英] file upload validation using jquery in asp.net(.aspx)
本文介绍了使用asp.net(.aspx)中的jquery进行文件上传验证的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好,
如何在aspx页面中为fileupload控件编写验证脚本。
请帮帮我。
谢谢和问候
Santhiosh
hi all,
how to write validation script for fileupload contol in aspx page.
please help me.
thank and regards
Santhiosh
推荐答案
Take看看以下链接:
http://adamsanderson.github.com/jQuery-File -Validator / [ ^ ]
链接中提到这个解决方案有一个警告。它可能适用于某些浏览器,而不适用于某些浏览器。仅在客户端验证时不能依赖文件上载验证。最好也是服务器端。
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.
这篇关于使用asp.net(.aspx)中的jquery进行文件上传验证的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文