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'');