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 / June 2007

Tip: Looking for answers? Try searching our database.

Why is this different using VS 2005

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Lloyd Sheen - 23 Jun 2007 19:38 GMT
I am so confused or I guess it is just the IDE.

I drag a label into my source window(aspx) , change the default name etc and
in the code behind all is good.  I can reference the label etc.

Now I go back to source window and just copy the line with the label.
Change the ID etc and (WAIT FOR IT), I cannot reference the lable in code.
I delete that line from the source and drag another in.  Well of course I
can reference this one.

WHAT IS THE DIFFERENCE???  I thought this was a RAD tool!  It makes no sense
that the IDE with D&D capabilities would do something stupid like that.

Lloyd Sheen
Mark Fitzpatrick - 23 Jun 2007 21:27 GMT
Sometimes you need to move from html view to design view. The code behind
relies on the designer file, which is sometimes updated when you switch
views.

Signature

Hope this helps,
Mark Fitzpatrick
Former Microsoft FrontPage MVP 199?-2006

>I am so confused or I guess it is just the IDE.
>
[quoted text clipped - 11 lines]
>
> Lloyd Sheen
Teemu Keiski - 24 Jun 2007 08:45 GMT
It also has impact if you use the default stock project model in VS2005
(which is new in VS2005) vs Web Application Project model which reminds the
model in VS2003. In the latter there are designer files etc within the
project plus project files, which , in my opinion, seem to make VS work more
reliably

See: http://west-wind.com/weblog/posts/5601.aspx

Signature

Teemu Keiski
AspInsider, ASP.NET MVP
http://blogs.aspadvice.com/joteke
http://teemukeiski.net

>I am so confused or I guess it is just the IDE.
>
[quoted text clipped - 11 lines]
>
> Lloyd Sheen

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.