在modalpopup中使用非ajax验证器的问题 [英] Problems using non-ajax validators in modalpopup

查看:134
本文介绍了在modalpopup中使用非ajax验证器的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用ASP.NET 2.0,Visual Studio 2008和Ajax.我从GridView链接调用modalpopup中的detailsview.在detailsview(位于更新面板中)内,我想使用非ajax验证器,但无法使用正则表达式或Required Field验证器.两个ajax验证程序扩展器不符合我的要求.

1).在modalpopups中使用非ajax常规验证器"是否存在已知问题?

2).有没有一种方法可以在modalpopup文本框中合并所需的字段验证器?

3).是否可以将正则表达式验证器附加到modalpopup文本框?

I am using ASP.NET 2.0, Visual Studio 2008 and Ajax. I invoke a detailsview within a modalpopup from a GridView link. Within the detailsview (which resides in an update panel) I want to use the non-ajax validators but am unable to use the Regular Expression or Required Field validators. The two ajax validator extenders do not meet my requirements.

1). Is there a known problem with using non-ajax "regular validators" in modalpopups?

2). Is there a way to incorporate a required field validator within a modalpopup textbox?

3).Is there a way to attach a regular expression validator to a modalpopup textbox?

推荐答案

请参阅下面的链接

Modal Popup Extender控件中的验证器 [在模态弹出窗口中显示验证错误消息 [ http://forums.asp.net/p/1082751/1612011.aspx [ ^ ]

投票并接受解决方案
如果这对您有帮助
谢谢
refer to this links below

Validators in Modal Popup Extender control[^]

Showing Validation ErrorMessages in Modal Popup[^]

http://forums.asp.net/p/1082751/1612011.aspx[^]

vote and accept solution
if this will help you
thanks


这篇关于在modalpopup中使用非ajax验证器的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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