Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium


Adding web controls to a page

Posted on 2007-10-17
Medium Priority
Last Modified: 2013-11-26
Stupid question. I'm trying to add a web control to my .aspx page, and I drag the control from the Visual Studio toolbox to the page. The problem is that the control doesn't get declared in the code-behind. In VS2003, I would just double-click on the control and it would bring up the .aspx.cs file with the new control declared. That doesn't work in VS2005. So how do I get the program to add the web control to the code-behind file? Thanks.
Question by:tjgquicken
1 Comment
LVL 96

Accepted Solution

Bob Learned earned 200 total points
ID: 20095529
2005 has changed the way that controls are declared, and they are no longer defined in the code-behind.  You should only need to see them in the HTML designer.


Featured Post

Become an Android App Developer

Ready to kick start your career in 2018? Learn how to build an Android app in January’s Course of the Month and open the door to new opportunities.

Question has a verified solution.

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

This document covers how to connect to SQL Server and browse its contents.  It is meant for those new to Visual Studio and/or working with Microsoft SQL Server.  It is not a guide to building SQL Server database connections in your code.  This is mo…
In real business world data are crucial and sometimes data are shared among different information systems. Hence, an agreeable file transfer protocol need to be established.
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…
The Relationships Diagram is a good way to get an overall view of what a database is keeping track of. It is also where relationships are defined. A relationship specifies how two tables connect to each other. As you build tables in Microsoft Ac…
Suggested Courses
Course of the Month12 days, 4 hours left to enroll

564 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