Ajax选项卡容器,Validation,ValidatorCalloutExtender [英] Ajax tab container,Validation, ValidatorCalloutExtender

查看:70
本文介绍了Ajax选项卡容器,Validation,ValidatorCalloutExtender的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我使用的是ajax标签容器,带有两个标签。在每个标签中加载了不同的用户控件。当用户单击第一个选项卡的提交按钮时,其页面验证调用&我使用ValidatorCalloutExtender闪烁错误消息。

同时,用户点击其他选项卡,validatorcallout消息仍然闪烁。 />


任何人都可以告诉我当用户点击第二个标签时如何删除验证器标注消息。



谢谢提前

Hi,

I am using ajax tab container, with two tabs.In each tab different user control is loaded. When user clicks on submit button of first tab its page validation invokes & i used ValidatorCalloutExtender which flashes the error message.
In the mean time, user clicks on other tab, the validatorcallout message still flashes.

Can anyone please let me know how to remove validator callout message when user clicks on second tab.

Thanks in advance

推荐答案

在tab1上你可以为验证器标注扩展器设置display none

例如
On tab1 you can set display none for the validator callout extender
e.g


(。ajax__validatorcallout_popup_table_row)。css(''display'',''none'');
(".ajax__validatorcallout_popup_table_row").css(''display'', ''none'');


这篇关于Ajax选项卡容器,Validation,ValidatorCalloutExtender的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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