www.codinghillbilly.com   kyle.baley.org  Subscribe / Contact
 
 
 
 
LATEST POSTS
Friday, March 30, 2007

Despite my strict mantra, "I don't do websites", here I am working on a plain old website. But thanks to www.templatemonster.com and ASP.NET master pages, it's going pretty quickly.

But here's an odd thing with master pages. I have nested master pages and when I get to a content page (or another master page) that's two levels deep or higher, VS2005 no longer recognizes the <asp> controls in my HTML. They work just fine but the IDE marks them as errors ("not a known element") and they don't show up in intellisense...

...unless I open the master page(s) in the IDE (doesn't matter if it's design mode or source mode). In which case, all is right with the world again.

Disclaimer
The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.

Copyright © 2008 Kyle Baley. All rights reserved.
 
LATEST POSTS
 
POPULAR POSTS
 
LINKS
 
BLOG ROLL
 
CATEGORIES
 
ARCHIVE