日期:2014-05-18  浏览次数:20803 次

asp.net 怎么实现tab控件
我的页面想用tab控件,但是工具箱没有。如何实现呢?请给个思路也行

------解决方案--------------------
第三方插件可以撒
------解决方案--------------------
WPF
------解决方案--------------------
extjs 或 dojo
------解决方案--------------------
http://ajaxcontroltoolkit.codeplex.com/
http://www.asp.net/ajaxLibrary/AjaxControlToolkitSampleSite/Tabs/Tabs.aspx
------解决方案--------------------

用DIV+JS自己写。。也可以根据一些插件改。。

http://techlaboratory.net/products.php?product=stab

http://www.web-delicious.com/jquery-plugins-demo/wdScrollTab/sample.htm

http://www.sunsean.com/idTabs/
------解决方案--------------------
我做过:
<asp:TabContainer ID="TabContainer1" runat="server" ActiveTabIndex="1" 
Height="529px" CssClass="AjaxTabStrip" 
Width="96%">
<asp:TabPanel ID="TabPanel1" runat="server" HeaderText="SMT00">
<HeaderTemplate>
SMT00
</HeaderTemplate>
<ContentTemplate>
<table style="width: 45%; height: 98px;" align="left">

</table>
</ContentTemplate>
</asp:TabPanel>
<asp:TabPanel ID="TabPanel2" runat="server" HeaderText="SMT01">
<HeaderTemplate>
Others
</HeaderTemplate>
<ContentTemplate>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
<br />
<div style="height: 38px">
<table style="width:39%;" align="left">


</table>
</div>
</ContentTemplate>
</asp:TabPanel>

</asp:TabContainer>