如何导航到一个选项卡到另一个选项卡 [英] How to navigate to one tab to another tab

查看:111
本文介绍了如何导航到一个选项卡到另一个选项卡的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好
当我单击asp.net中的按钮时如何导航到一个选项卡到另一个选项卡

在Advance中致谢

Hi ALL
how to navigate to one tab to another tab when i click button in asp.net

Thanks in Advance

推荐答案

阅读本文并按照说明进行操作:

http://www.asp.net/ajax/ajaxcontroltoolkit/samples/tabs/tabs.aspx [^ ]
Read this article and follow the instructions:

http://www.asp.net/ajax/ajaxcontroltoolkit/samples/tabs/tabs.aspx[^]


希望这对您有用...

tabControl1.SelectTab("tabPage2");

其中tabControl1是您的TabControl的ID
而tabPage2是Tab的ID
即我有2个标签..tabPage1和tabPage2
Hope this works out for you...

tabControl1.SelectTab("tabPage2");

where tabControl1 is the ID of your TabControl
and tabPage2 is the ID of Tab
i.e.i have 2 tabs..tabPage1 and tabPage2


这篇关于如何导航到一个选项卡到另一个选项卡的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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