Posted on: 7/12/2014 8:03:02 PM | Views : 355

I am following-up from post made in 2009 regarding: Removing the Meta Description for Child Pages, then adding one back specific for the Child Page.
The following code removes the Meta Description that is described in the Master Page from the Child Page, however, doesn't add it back:
AAny idea would be greatly appreciated!
HtmlHead header1 = (HtmlHead)Master.FindControl("head1"); header1.Controls.Remove(header1.FindControl("desc1")); HtmlMeta description = new HtmlMeta(); description.Name = "Description"; description.Content = "Davinci's Painting is a family owned and operated painting company. We serve homeowners in Northern Virginia and Washington DC"; header1.Controls.Add(description);

Go to the complete details ...