Who is online? 131 guests and 0 members
Member login | Become a member
home » blogs » vivek_iit » Meta tags, keywords in ASP.NET 2.0 MasterPages
posted 3/5/2008 by vivek_iit
There are different approaches to this, but mostly I have seen the following being used often:
1. Using a contentplaceholder control in the HEAD element (see this article for details):
http://odetocode.com/Blogs/scott/archive/2006/04/10/3258.aspx
2. Using a BasePage approach, refer this article:
www.codeproject.com/aspnet/PageTags.asp
I really find the second method (using a BasePage class) much more cleaner and flexible as users can change the tags,title etc in the ASPX using page level properties. Though the same can be done in the first approach but using a contentplaceholder in the HEAD tag doesnt sound neat!
vivek_iit (Member since: 11/27/2008) I am one of the administrators at CodeAsp.Net and I love programming, architecting solutions, code reviews, teaching and writing about ASP.NET.
View vivek_iit 's profile
Comment (No HTML)
It's fast, easy and free! Submit articles, get your own blog, ask questions & give answers in the forums, and become a better developer, faster.
enter your email address: