Author: adamargyle | Posted on: 5/9/2009 2:24:01 PM | Views : 277

I am using a masterpage on my webpage, currently this means all my meta data is repeated on each page.
What I would like to happen is have the ability to put in a pages metadata for that content placeholder eg about us, contact us etc and then pass that into the master page for use as that meta data.
I found an example to do this online but am having problems getting it to work:
main.master.cs
 public partial class Main : System.Web.UI.MasterPage { protected void Page_Load( object sender , EventArgs e ) { } public string MetaTitle { get { return PageTitle.Text; } set { PageTitle.Text = Go to the complete details ...