Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions

Visual Basic 2008

Posted on 2013-01-28
Last Modified: 2013-04-24
I have a page with a tab container with three tabs. Tab one is Total Orders, Tab two is Order details and Tab Three is Volunteer hours. I want to add another Tab Container in each tab. I can only add a tab container in Total Orders tab because it is the ative tab. If I add a tab to the other two tabs I get and error saying that the control is invisible when the page loads. Does anyone know how to work around  this.
Question by:whiwex
  • 3
LVL 25

Expert Comment

by:Luis Pérez
ID: 38830172
I've tried to replicate the issue without success. Can you post more information? How are you trying to create the tabs (at design time, at run time in code...)? Can you post any error message or screen capture showing the problem?

Author Comment

ID: 38831211
I am creating the tab containers at design time and I'm using ajax tab container. The error I get is this
htmlfile: Can't move focus to the control because it is invisible, not enabled, or of a type that does not accept the focus.

Here the code. If I remove tab container 3 it works fine.

<%@ Page Language="VB" MasterPageFile="~/Master Pages/Administrator.master" AutoEventWireup="false" CodeFile="Summary Report.aspx.vb" Inherits="Administrator_Reports_Summary_Report" title="Untitled Page" %>

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

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <style type="text/css">
            width: 100%;
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <table class="style1">
            <td width="100%">
                <asp:TabContainer ID="TabContainer1" runat="server" ActiveTabIndex="1"
                    <asp:TabPanel runat="server" HeaderText="TabPanel1" ID="TabPanel1">
                            <asp:TabContainer ID="TabContainer2" runat="server" ActiveTabIndex="0"
                                <asp:TabPanel ID="TabOrders" runat="server" HeaderText="TabPanel1">
                            Total Orders
                    <asp:TabPanel ID="TabPanel2" runat="server" HeaderText="TabPanel2">
                            Order Details
                            <asp:TabContainer ID="TabContainer3" runat="server" ActiveTabIndex="0"
                                <asp:TabPanel ID="TabVendors" runat="server" HeaderText="TabPanel1">
                    <asp:TabPanel ID="TabPanel3" runat="server" HeaderText="TabPanel3">
                            Volunteer Hours

Accepted Solution

whiwex earned 0 total points
ID: 39094143
Please close it was never resolved

Author Closing Comment

ID: 39107612
It was never resolved

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Article by: jpaulino
XML Literals are a great way to handle XML files and the community doesn’t use it as much as it should.  An XML Literal is like a String (http://msdn.microsoft.com/en-us/library/system.string.aspx) Literal, only instead of starting and ending with w…
Since .Net 2.0, Visual Basic has made it easy to create a splash screen and set it via the "Splash Screen" drop down in the Project Properties.  A splash screen set in this manner is automatically created, displayed and closed by the framework itsel…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

808 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question