User-1106823036 posted
I wan to add a meta tag to the head dynamically
this is my code
Dim fbTitle As New HtmlMeta
fbTitle.Attributes.Add("property", "og:title")
fbTitle.Content = "test"
Page.Header.Controls.Add(fbTitle)
it throws this error
The Controls collection cannot be modified because the control contains code blocks (i.e. <% ... %>).
what is wrong.
Thank you in advance for help