posted 3/5/2008 11:30:45 AM by Vivek Thakur
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 Thakur (Member since: 11/27/2008 11:54:25 AM) 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 Thakur 's profile
Leave a comment
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: