Wednesday, 9 July 2008

ASP.NET MVC View Master Page Template bug

This is just a minor annoyance, easily sorted.


When you create an ASP.NET MVC View Master Page you probably go and change the content of the tag. This works when you first launch the website but as soon as you start to navigate around the title reverts to Untitled.

It appears to be an easy solution

Look at the following MVC View Master page snippet of the header

Simply remove the runat="server" attribute from the tag and the problem goes away.

I'm sure this bug will get sorted in an upcoming release.








Labels: ,