Ok, I thought yesterday this was a problem with VS 2005. I properly installed the AJAX framework 1.0. Updated the web.config.
The stupid designer file for my aspx keeps complaining about both the ScriptManager control and all UpdatePanel controls I threw onto the page and so when I try to build, it keeps giving me this!
Type 'System.Web.UI.ScriptManager' is not defined.
Type 'System.Web.UI.UpdatePanel' is not defined.
When I thought this problem was just a bug, I had done the following and it just quietly for no reason went away, but not it's back. Here's what I did yesterday to get this stupid crap to quit complaning:
1) I had both the aspx & it's designer.vb file open in VS 2005
2) I tried taking those controls out and readding them. As I look at the designer, it is changing dynamically as it should with each change to my aspx
3) After 2 hours of this crap, and still getting these errors, I said hmm, let me close VS....a collegue said he had been getting this weirdness also in other stuff he was coding after moving back to this new team at corporate. Maybe it's their code but right now, my code looks great!
4) After I reopened VS, the stupid errors went away
Today I was working for half the day on the same files and others. All of a sudden, I go get coffee. The last change I did was to add a ../ in an absolute path to a CSS link inside my aspx. I swear that's it. I come back, try to build and WAM!