Author: you've been HAACKED | Posted on: 4/3/2009 9:37:09 AM | Views : 847

There are a couple of peculiarities worth understanding when dealing with title tags and master pages within Web Forms and ASP.NET MVC . These assume you are using the HtmlHead control, aka <head runat="server" />. The first peculiarity involves a common approach where one puts a ContentPlaceHolder inside of a title tag like we do with the default template in ASP.NET MVC: <%@ Master ... %> < html > < head runat ="server" > < title > < asp:ContentPlaceHolder ID ="titleContent" runat ="server" /> </ title > </ head > ... What?s nice about this approach is you can set the title tag from within any content page. < asp:Content ContentPlaceHolderID ="titleContent"...(read more) ...

Go to the complete details ...