.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
david stephan
Gaurav Pal
Post New Web Links

TabContainer with vertical tabs.

Posted By:      Posted Date: September 21, 2010    Points: 0   Category :ASP.Net

High I was wonderif it was possible to make a the tab panel show the tabs vertically, and if so, how?

View Complete Post

More Related Resource Links

ASP.net Ajax TabContainer -- Printing All tabs



Can  anyone help me with this?. I want to print all the tabs in ajax tab container. The tab container has around 10 tabs. I dont want to goto each tab and print the page. Instead is there any way by which I can tweek the print.css file to print all the tabs at a single stretch?.  So that I will get all the contents of the tab in single print.  Is there any other way in which I can print all the tabs all together?.

Thanks in Advance...


How to navigate through AJAX TabContainer Tabs using buttons


Hi Forumians,

In a web page i have 5 tabs from 1 st tab to 2 tab

i have to go by a linkbutton click not through header navigation

so i created a link button and in the button click event

i have written the code like below

protected void lnkproceceed2tab3_Click(object sender, EventArgs e)
        TabContainer1.ActiveTab = TabContainer1.Tabs[3];


its sitting in same tab i cant go to the next tab by a link button.

Kindly find a solution and tell me

can the tabcontainer tabs be made accessible - with the user tabbing along them with their keyboard?


We have some tabContainers on our site and we would like to make them accessible.

So that the user can access each tab with their keyboard.

i.e. navigate with the tab key on their keyboard instead of their mouse.

is this possible?

thanks in advance.

Can't select different tabs on AjaxToolkit's TabContainer


Hello guys...

I've been searching the net for the past 3 days looking for solutions for this... but apparently it is only happening to me... As far as I've seen (even in this video: http://www.asp.net/ajax/videos/how-do-i-use-the-aspnet-ajax-tabs-control), TabContainer/TabPanel is pretty much drag & drop. But for some so far unknown reason, I can't click on the tabs to change them, and I can't see the selected tab(there is no difference in the rendering of the tabs to show selected tab).

Is there any javascript function that I have to add to my page by default to make it work?

This is the way the tabContainer is being rendered:

As you can see, even though we know tab 1 is selected, the 3 buttons look the same. And when you try to click "Tab Two" or "Tab Three", it is as if the tabs were read-only...

Anyone has any suggestions on what can I try to do in order to fix this?? My code is as follows... The optional properties that I setted, such as Enabled="true" on the tabpanels, are the tries I've done these past 3 days to fix the p

Toolbox: Database and OR/M Tools, Oren Eini and Custom Visual Studio Tabs


This month we look at tools for enhancing the LINQ to SQL and Entity Framework designers, Oren Eini's .NET development blog, Visual Studio tab customization, and more.

Scott Mitchell

MSDN Magazine December 2009

RibbonX API: Extend The 2007 Office System With Your Own Ribbon Tabs And Controls


If you want to create your own professional looking tabs and controls in Office, check out the RibbonX API of the 2007 Microsoft Office system.

Eric Faller

MSDN Magazine February 2007

Dynamic tabcontainer


I have a tabcontainer that is set up dynamically.  Everything in this work without any issues.  I add a gridview to this container and I would love to maintain the active tab during a page post back.   If I create the tabcontainer in the design time I know how to use javascript to maintain the tab selections.  But I have no clue when they are dynamic.  I tried storing the activeTabIndex in a session variable but I don't know how to capture the change of the tabs.

Can someone please help,


show two tabs for different data


I need ure help,

my question is that I need to show a tab two times in my web page ,,, each time this tab will be showed it will have different data will be called from a database while the page loaded >>>> when I use my code I can show the tab one time only

I will insert my code here look at it and tell me where the error

<td align=left >
    <cc2:TabContainer   ID="TabContainer1" runat=server BorderStyle="None" BorderColor="White" BorderWidth="0">
    <cc2:TabPanel  ID="TabPAnel1" runat=server BorderStyle="None" BorderColor="White" BorderWidth="0px">
   <asp:DataList ID="DataList3" runat=server  >
<cc2:CollapsiblePanelExtender ID="CollapsiblePanelExtender1" runat="server"
                TargetControlID="PnlContent" ExpandControlID="PnlTitle" CollapseControlID="PnlTitle"
                TextLabelID="Label1" CollapsedText='<%# Eval ("BookName") %>' ExpandedText='<%# Eval ("BookName") %>'
                ImageControlID="Image1" ExpandedImage="App_Themes/ima

Ajax tabs within tab



Is there a possibilities to create ajax tab within a ajax tab?

Pls advise.

Separate sessions in browser tabs together with an ajax enabled web site


I want my tabs in my browser to have separate sessions. I  was told to use

<sessionState mode="InProc" cookieless="UseUri"></sessionState> in web.config

 but when I read about it here: http://msdn.microsoft.com/en-us/library/h6bb9cz9(v=VS.100).aspx

the text says "When you configure an AJAX-enabled ASP.NET Web site, use only the default value of UseCookies for the cookieless attribute. Settings that use cookies encoded in the URL are not supported by the ASP.NET AJAX client script libraries."

I'm using Ajax so are there any ideas what I can do about this problem.

Using tabs from the AjaxControlToolkit causes error: ...control contains code blocks (i.e. <% ... %>


I'm getting the error:

The Controls collection cannot be modified because the control contains code blocks (i.e. <% ... %>).

When attempting to add the tabs from the AjaxControlToolkit.  A little background..Theres an existing aspx page in a microsite which used the accordion control and the tabbed control ...I need to modify this page to use a different masterpage. 

The original site was .Net Framework 2.0 and the page in question used AjaxControlToolkit 1.0. which I manually installed originally.  Some of the site has been further developed using the .Net Framework 3.5.  (Come with AjaxControlToolkit) Now I have come to update this aspx page and I get the error above.

I have narrowed the down to the TabContainer (I think)  Does anyone have any experience with this sort of problem?  Also what version of the AjaxControlToolkit should be with the .Net Framework 3.5? I have 1.0.20229.20821. 

I also tried to browse to the AjaxControlToolkit.dll to add the tools to the tool box as they're missing... thinking this may be an indicator as to why it wasn't working. I get the error: 'There was an error loading types from assembly C:\inetpub\wwwroot\project\Bin\AjaxControlToolkit.dll Could not load file or assembly 'System.Web.Extensions. Version=

Data list error with using tabs


I need ure help,

my question is that I need to show a tab two times in my web page ,,, each time this tab will be showed it will have different data will be called from a database while the page loaded >>>> when I use my code I can show the tab one time only

I will insert my code here look at it and tell me where the error


<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="cc2" %>

<td align=left >   
  •     &l
  • Issues with dynamically created TabContainer (Hide/Show TabPanel)


    I have a web page that contains an UpdatePanel. In that panel, there is a TabContainer control that has 5 TabPanels, only the first one "Tab 1" will be displayed during initial page load. There is an Add button in "Tab 1", whenever it gets clicked, I will add (show) the next TabPanel (Tab 2, Tab 3, etc., all the way to Tab 5). "Tab 2" thru "Tab 5" contains a Close button that will close (hide) the current tab when clicked.

    I'm doing all of these from code behind (dynamically create controls in Page_Init event and re-generate them during postback, track each TabPanel's content in a session variable, etc.), and everything seems to work just fine IF after adding several TabPanels, I remove  them in order (i.e. remove Tab 5 first, then Tab 4, Tab 3, etc.). It will NOT work whenever I try to remove a tab in the middle, then I will get all kinds of strange results.

    I've attached the sample codes here for reviewing and testing. Any help is greatly appreciated.


    ==================== demo.aspx page ====================

    <%@ Page

    How I disable vertical scroll bar of report viewer control on Web Form.


    I'm displaying .rdlc report file using Report viewer control on Webform. If  I Fix height of viewer control and data is not same as to size of viewer control then it display one scrollbar on viewer control and second vertical scroll bar is coming on webpage.

     I want to off viewer vertical scrollbar or in simple word's I don't want to display two scroll bar with my report. Please guide me or send me reference if any.


    Cannot switch between tabs of a tab control at design time

    Hi, I have the same problem as this fellows description below. Any suggestions? Cannot switch between tabs of a tab control at design time 06-11-2010 4:21 PM | Hi. I'm using a tabcontrol with some tabs. it works fine in the navigator but in design time a cannot switch between tabs to insert content in graphic mode. When i have created this tabcontrol, i could move me across the tabs. Now when i click the tab it jump the possition in the xaml code but not in the Design. Whats happening? Thanks in advance.

    VS2010: Switching tabs in wpf designer

    Hi, I have a problem with the WPF designer in VS 2010. I have a WPF UserControl which contains a TabControl with several Tabs (TabItems).  It was always possible to switch the tabs in the designer to see the content of the individual tabs. However, suddenly this stops working. I can not switch the tabs anymore. [EDIT] Seems to be a known issues? https://connect.microsoft.com/VisualStudio/feedback/details/531868/wpf-editor-tabcontrol-issues Workaround does not work for me (or I do not understand it correctly)... [/EDIT] Any ideas? Thanks in advance. Jus  

    Vertical Result Set

    hi all...  Is it possible to get results vertically rather than horizontally... I have a table with over 70 colulmns I have to display top 3 records vertically.. I could get columns arranged vertically by using  information_schema.columns Any help is greatly appreciated.
    ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
    Sql Server  SharePoint  Silverlight  Others  All   

    Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend