How to add TabControl in toolbox for VS Express 2012 for Web

Posted on 2014-07-15
Last Modified: 2014-07-16
I am new to Visual Studio.  I downloaded WebMatrix 3 which includes Visual Studio Express 2012 for Web.  I aim to create a Web Application Form which has tabs.  When I checked articles in Google and on YouTube, I observed that the TabControl control is included in VS 2012.  When I attempt to add this item to the toolbox, I get the following message.  "The following controls were successfully added to the the toolbox but are not enabled in the active designer.  (TabControl and TabControlArrary).  Make sure the controls to add are compatible with the current desiger and .NET Framework version".  I get a similar error message when I add the item to the WPF Components of the "Choose Toolbox Items" configuration box.  Please advice.
Question by:francismichael
    LVL 40

    Accepted Solution

    Give a look at the second column, the one named Namespace.

    The TabControl is for Windows.Forms, which means that this control is available only for Windows applications.

    The TabControlArray is for compatibility for VB6 and is useful only when converting old VB6 applications to .NET. It simulates something that existed in VB6 but is done differently in VB.NET.

    The only controls that you can use in web pages are those in the System.Web.UI.WebControls namespace. There is no TabControl in there. The notion of tabs do not exist in web pages. When you see something that looks like a Tab on the internet, it is simulated in different ways, such as with clickable images that call a new page when you click on them.

    Author Closing Comment

    Thank you for the clear explanation.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Find Ransomware Secrets With All-Source Analysis

    Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

    In Easy String Encryption Using CryptoAPI in C++ ( I described how to encrypt text and recommended that the encrypted text be stored as a series of hexadecimal digits -- because cyphertext may…
    Well, all of us have seen the multiple EXCEL.EXE's in task manager that won't die even if you call the .close, .dispose methods. Try this method to kill any excels in memory. You can copy the kill function to create a check function and replace the …
    Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
    This video discusses moving either the default database or any database to a new volume.

    779 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

    Need Help in Real-Time?

    Connect with top rated Experts

    9 Experts available now in Live!

    Get 1:1 Help Now