Wow, this is a bizzare one. Same situation, using master pages, and when I try and edit a file without the master page open, visual studio pronounces that all of my <asp: tags are invalid :-/
Oh well, a workaround is a workaround I suppose.
Thanks again ASP.Net forums / google
I like cake.