Tabs on an aspx page

I need to put two tabs on my aspx page (C #). Is tab management done for aspx?

+3
source share
4 answers

Ajax has tabs you can use:

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

jQuery also has tabs that you can use, which in my opinion is the best choice:

http://jqueryui.com/demos/tabs/

In strictly ASP.NET you can use multiview and do tabs, here is a tutorial for this:

http://www.codeproject.com/KB/custom-controls/TabControl.aspx

+4
source

Bootstrap aspx, - . - .

:

<div id="Tabs" role="tabpanel">
<!-- Nav tabs -->
 <ul class="nav nav-tabs" role="tablist">
   <li class="active"><a href="#settings" aria-controls="settings" role="tab" data-toggle="tab">Settings tab</a></li>
   <li><a href="#info" aria-controls="info" role="tab" data-toggle="tab">Information tab</a></li>
 </ul>
<!-- Tab panes -->
 <div class="tab-content">
   <div role="tabpanel" class="tab-pane active" id="settings">
   </div>
   <div role="tabpanel" class="tab-pane" id="info">
   </div>
 </div>
</div>

bootstrap.css bootstrap.js .

+1

There is no standard ASP.NET component, but you can use the Microsoft ASP.NET AjaxControlToolkit library. Here is the component

0
source

You can create simple menus using CSS. This site shows you step by step how to create it, which can then be customized as needed.

http://www.secondpicture.com/tutorials/web_design/css_ul_li_horizontal_css_menu.html

0
source

Source: https://habr.com/ru/post/1771969/


All Articles