Hi
I am using an ascx control in
vb.net and trying to change the title and the meta tags dynamically. But for somereason its not working...The code below is only for title but i am sure that if i manage to set the title then will be able set the meta tags aswell.
Many Thanks
--------------------------------
Dim ID As New Sitecore.Xml.Xsl.XslHelper
Dim iMonth As String = ID.qs("Month")
Dim iYear As String = ID.qs("Year")
Dim iName As String = ID.qs("Category")
Dim Category As String = Replace(iName, "-", " ")
If iName <> "" Then
Title.Text = (iName)
Else
Title.Text = (" All Categories")
End If
-------------------
<head>
<title ><asp:Literal ID=Title runat ="server"></asp:Literal></title>
</head>
--------------------