Creating the Project

If you plan to follow along step by step with this chapter, we recommend following some naming conventions to make compiling and debugging easier. As always, both C# and Visual Basic .NET code will be provided for this project.

You’ll start by creating the project. First, create a standard ASP.NET application in the language of your choice. Name it either Chapter9CS for C# or Chapter9VB for Visual Basic .NET. Next, right-click the project name in the Solution window and choose Add and then New Component. In the dialog box that appears, choose Web Custom Control and name this component SimpleTabControl.cs or SimpleTabControl.vb, depending on the language you have chosen for this example.

Now you can start coding the basic tab ...

Get Debugging ASP.NET now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.