如何在用户控件中进行验证 [英] how to validate in usercontrol

查看:63
本文介绍了如何在用户控件中进行验证的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在用户控件中进行验证,我在用户控件中有文本框和下拉列表,按钮,因此当我在文本框中指定任何值或在下拉列表中选择任何值时...我应该使用javascript获取弹出消息,如何进行验证....如何从母版页上调用它...任何机构都可以帮助我...请

how to do validation in usercontrol , i am having textbox and dropdownlist,button in the user control so when i dint give any value in the textbox or dint select any value in the dropdownlist...i should get popup message using javascript ,how to validate it....how to call it from master page ...any body help me ...please

推荐答案

请参阅此

http://forums.asp.net/t/889146.aspx [ www.codeproject.com/Articles/12003/JavaScript-Validation-in-User-Control [^ ]
Refer this

http://forums.asp.net/t/889146.aspx[^]

www.codeproject.com/Articles/12003/JavaScript-Validation-in-User-Control[^]


这篇关于如何在用户控件中进行验证的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆