Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / October 2007

Tip: Looking for answers? Try searching our database.

VS 2003 suddenly can't create controls

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
RBriggs - 02 Oct 2007 00:46 GMT
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.
Cowboy (Gregory A. Beamer) - 02 Oct 2007 04:36 GMT
Worst case, you may have to reset the IDE. There are switches on devenv.exe
that you can look up on MSDN.

I would try a new project first and make sure it is not something dinked up
with the project file before resetting, as you can end up having to reload
add ins. I believe it is /resetskppkgs, but I am not sure I have this
exactly right.

Signature

Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA

*************************************************

| Think outside the box!

*************************************************
> Hello.
>
[quoted text clipped - 14 lines]
>
> Thanks.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.