S
Sinan Alkan
In a master page --> content page system, is it possible to change the
"description" and "keywords" meta tags of the master page from content page
?
I am trying as follows, from content page....
protected void Page_Load(object sender, EventArgs e)
{
HtmlMeta fordesc = new HtmlMeta();
fordesc.Name = "keywords";
fordesc.Content = "word1, word2, word3";
Header.Controls.Add(fordesc);
}
But it adds second "keywords" metatag sentence to the page .
How can i just replace or change tags of the master-pages's ?
Thanks in advance...
PS: I'm using c# and framework 2.0
"description" and "keywords" meta tags of the master page from content page
?
I am trying as follows, from content page....
protected void Page_Load(object sender, EventArgs e)
{
HtmlMeta fordesc = new HtmlMeta();
fordesc.Name = "keywords";
fordesc.Content = "word1, word2, word3";
Header.Controls.Add(fordesc);
}
But it adds second "keywords" metatag sentence to the page .
How can i just replace or change tags of the master-pages's ?
Thanks in advance...
PS: I'm using c# and framework 2.0