简体   繁体   English

ASP.NET中的服务器端Tab控件?

[英]Server side Tab control in ASP.NET ?

Is there any .NET server side Tab control ? 是否有任何.NET服务器端Tab控件?

I need something like this : 我需要这样的东西:

在此处输入图片说明

And I need it to be a server side control Tab ,and not a client side , for the sole purpose of navigation , when you navigate to a specific tab - only then get the data that is needed , and not on the first load . 而且,仅出于导航的目的,当您导航到特定的选项卡时,我需要它是服务器端的控制选项卡,而不是客户端的选项卡-仅在获得所需数据时才需要,而不是在第一次加载时。

Thanks 谢谢

You can achieve that by using a client side object but assign runat = 'server', So, the event is fired only if post back occurs. 您可以通过使用客户端对象但分配runat ='server'来实现。因此,仅在发生回发时才触发该事件。 Example: 例:

 <asp:Button ID="btnCancel" Style="z-index: 176; left: 938px; position: absolute; top: 12px"
            runat="server>

Using custom web UI control you can develop your requirement. 使用自定义Web UI控件,您可以开发自己的需求。

Please refer Web-Tab-Control article to create. 请参考Web-Tab-Control文章进行创建。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM