风格= QUOT;显示:无;能见度:隐藏"使用ajaxToolkit:TabPanel无法正常工作。 [英] style="display:none; visibility:hidden" with ajaxToolkit:TabPanel not working.
问题描述
大家好,
我正在构建一个网页,我正在使用ajaxToolkit:TabPanel。在此基于用户在第一个面板上选择的选项,我必须显示或隐藏页面上的其他选项卡,但它试图在客户端执行所有这些操作。因此,除了
其他选项卡的第一个选项卡,我尝试使用样式属性来隐藏它们但它不起作用。如果我使用Visible =" false"然后javascript无法找到控件。
I am building a web page in which i am using ajaxToolkit:TabPanel. In this on the basis of options choosed on the first panel by the user i have to show or hide other tabs on the page but it was trying to do all this on client side. Therefore except the first tab for other tabs i am trying to use style property to hide them but it is not working. If i use Visible="false" then javascript is unable to find the control.
任何人都可以帮助我。我也尝试使用Cssclass但不成功。为什么带有ajaxToolkit:TabPanel的样式属性没有显示任何结果。
Can anybody help me with the same. I have also tried it using Cssclass but unsuccessful. Why this style property with ajaxToolkit:TabPanel is not showing any result.
谢谢,
Nikhil。
推荐答案
您好,
试试这段代码:
Try this code :
这篇关于风格= QUOT;显示:无;能见度:隐藏"使用ajaxToolkit:TabPanel无法正常工作。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!