[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

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

Posted on 2014-07-15
2
Medium Priority
?
1,752 Views
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.
Choose-Toolbox-Items-1.png
Choose-Toolbox-Items-2.png
0
Comment
Question by:Francis Michael
2 Comments
 
LVL 40

Accepted Solution

by:
Jacques Bourgeois (James Burger) earned 600 total points
ID: 40198575
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.
0
 

Author Closing Comment

by:Francis Michael
ID: 40199473
Thank you for the clear explanation.
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

This tutorial demonstrates one way to create an application that runs without any Forms but still has a GUI presence via an Icon in the System Tray. The magic lies in Inheriting from the ApplicationContext Class and passing that to Application.Ru…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
This Micro Tutorial will teach you how to add a cinematic look to any film or video out there. There are very few simple steps that you will follow to do so. This will be demonstrated using Adobe Premiere Pro CS6.
As many of you are aware about Scanpst.exe utility which is owned by Microsoft itself to repair inaccessible or damaged PST files, but the question is do you really think Scanpst.exe is capable to repair all sorts of PST related corruption issues?
Suggested Courses
Course of the Month18 days, 1 hour left to enroll

829 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