PC Review


Reply
Thread Tools Rate Thread

Suddenly unable to add controls in VS2003

 
 
robin.f.briggs@gmail.com
Guest
Posts: n/a
 
      2nd Oct 2007
Hello.

I have a VS 2003 C# project. A few days ago I added a control in the
designer and everything worked fine. Today I tried to add a control to
the same form, and even though the control gets added just fine in the
designer (WYSIWYG and HTML views), the control never gets hooked up to
the .cs page, ie in the definitions section. I realize I could
manually add the control into the definitions area of the code-behind,
but since what I want to add is a custom validator, I am guessing I
would have to alter the InitializeComponent routine, and I'm scared to
do that.

As an FYI have tried adding different kinds of controls. None of them
work.

Has anyone seen this behavior before?

Thanks.

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
this.Controls.Add(Control) Does Not Add Control to child collection (this.Controls.Count == 0) Chad Scharf Microsoft ASP .NET 3 18th Oct 2007 04:53 PM
Create dynamic controls on WebSite with VS2003 -> VS2005 Joachim Microsoft ASP .NET 0 26th Jul 2005 08:56 AM
VS2003 Suddenly Stops Seeing Localhost IT Drone Microsoft ASP .NET 2 23rd Mar 2005 02:06 AM
"Unable to create Web project... The file path... does not correspond to the URL..." error using VSS with VS2003 in a Team Developemt environment David Webb Microsoft Dot NET 5 4th Feb 2005 09:08 PM
VS2003 bug? Disappearing user controls... Chris Cummings Microsoft Dot NET Framework Forms 0 14th Jul 2003 02:51 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:33 AM.