C# .NET - how to create a web tab control

Asked By santoshk kumar on 31-Mar-08 12:56 AM

we hav a tab control in windows but i have to use it in web app how to create a web tab control

tabs

mv ark replied to santoshk kumar on 31-Mar-08 01:07 AM
Use the MultiView control, new in ASP.NET 2.0 -
http://www.codeproject.com/KB/custom-controls/TabControl.aspx
http://quickstarts.asp.net/QuickStartv20/aspnet/doc/ctrlref/standard/multiview.aspx
or
the Tabs control in the AJAX Control Toolkit -
http://www.asp.net/ajax/ajaxcontroltoolkit/samples/Tabs/Tabs.aspx

Create a web based tab control

Shailendrasinh Parmar replied to santoshk kumar on 31-Mar-08 01:09 AM

Try this link. Here is a good article about how to create and use web based tab control...

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

Complete code for the control

ivan fiamengo replied to santoshk kumar on 31-Mar-08 02:12 AM
Here is the complete code for the control.
It implements Tab using MultiView and menu controls.
only in order to upload it I have had to change its extension to .jpg.
So when you download it, just rename it
from 2097772389_WebTabControlFromASP.NetMultiViewAndViews.jpg
to 2097772389_WebTabControlFromASP.NetMultiViewAndViews.zip.
tabstrip webcontrol
Santhosh N replied to santoshk kumar on 31-Mar-08 04:13 AM

You have TabStrip Web control for doing this in asp.net...

but the problem is with compatibility between different browsers...

its has got issues with browsers other than internet explorer...

for work around you can create a user control for this...

follow this article for the purpose...


http://www.codeproject.com/KB/user-controls/WebTabStripUserControl.aspx