Nested master page bug

by timvasil 12/6/2007 7:43:00 PM

Well, I stumbled upon a bug with nested master pages in .NET 2.0.

 Apparently it's a very bad idea to declare your own method called Master as follows:

        public new MyClass Master
        {
            get { return (MyClass)base.Master; }
        }

This compiles, of course, but any page that uses this master does not get its content inserted into the content placeholders.  Booo.

Tags:

ASP.NET

Comments are closed

Search

Calendar

«  February 2012  »
SuMoTuWeThFrSa
2930311234
567891011
12131415161718
19202122232425
26272829123
45678910

View posts in large calendar

Recent comments

Archive