cvboucher
Posts: 191
|
Posted: 05/27/2008, 2:35 PM |
|
I've used the following code in Visual Studio to add the refresh meta tag after a button has been clicked. I added a runat="server" to the <head> tag in CodeCharge and added the code in the OnClick (server) event of a search button but the meta tag isn't added to the page. What am I doing wrong?
Dim hh As HtmlHead = Me.Page.Header
Dim hm As New HtmlMeta()
hm.Attributes.Add("http-equiv", "refresh")
hm.Attributes.Add("content", "30")
hh.Controls.Add(hm)
Thanks,
Craig
CCS 3.2.0.4
ASP.NET/VB.NET
|