切换C#中代码后面的选项卡 [英] switch the tab in code behind file in C#

查看:81
本文介绍了切换C#中代码后面的选项卡的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的aspx页面中有五个div标签(jquery标签)......在第二个

div(标签)里面我有一个按钮。 onclick的那个按钮第二个div(标签)

应该被切换..而不是第一个标签即将来临..怎么可以

i切换代码后面的标签(内部按钮onclick事件)

I have five div tags(jquery tabs) in my aspx page...Inside the second
div(tab) i have a button. onclick of that buttton the second div(tab)
should be switched..instead of that the first tab is coming.. How can
i switch the tab in code behind(Inside button onclick event)

推荐答案

看看下面的链接:



以编程方式更改tabcontrol中的选项卡 [ ^ ]



以编程方式更改TabControl中的选定选项卡 [ ^ ]


问候..:)
Have a look at below links:

Programatically change tabs in tabcontrol[^]

Change selected tab in TabControl Programmatically[^]

Regards.. :)


就像你有代码一样



div class ='tab'> ; Tab1

div class ='tab'> Tab2

div class ='tab'> Tab3

div class ='tab' > Tab4

div class ='tab'> Tab5




Like you have code

div class='tab'>Tab1
div class='tab'>Tab2
div class='tab'>Tab3
div class='tab'>Tab4
div class='tab'>Tab5



(document).ready(function(){
(document).ready(function(){


这篇关于切换C#中代码后面的选项卡的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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