Ajax选项卡容器清除选项卡开关上的控件值 [英] Ajax Tab Container Clear control values on tab switch

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

问题描述

如何在从当前选项卡切换到其他选项卡的同时清除ajax选项卡容器中的当前选项卡控件值....任何建议都可以理解.我不想使用自动回发

How to clear current tab control values in ajax tab container while switching from current tab to other tabs.... any suggestion is appreciated.I don''t want to use autopost back

推荐答案

我不想使用自动回发
假设您知道使用AJAX,此回发将进行部分更新-但是如果您还没有准备好进行更新,则需要在制表符更改事件上定义一个客户端方法.在该JavaScript方法中,清除选项卡的控件,然后继续.

试试吧!
I don''t want to use autopost back
Assuming you know that with AJAX, this postback would do partial update - but if you are not ready to do that, then you need to define a client method on tab change event. In that JavaScript method, clear the controls of the tab and then move on.

Try out!


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

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