This is weird.
I have a site that uses master pages.
I currently have a master page that has many controls on it (labels, text boxes, menus etc).
I have not modified the master page in a long time because all of the work is in content pages.
Now when I add a label (or any other control for that matter) the weirdness starts.
I go to the code behind page and type something like
this.label1.Text = "blah blah";
I get a squigly underline error that states 'master does not contain a definition for label1', even though I get intellisense when I type "this." my label1 object appears.
I can run the website without debugging because of this error, and my Text assignment works.
The rub is that I can't 'publish' the site because of this type of error.
Any ideas as to why this is happenning?
Thanks.
Thanks,
TPS
------------------------------------------------------
Note Collaboration for your next confernce call.
http://www.ConferenceCallNotes.com