HtmlMeta meta = new HtmlMeta(); meta.HttpEquiv = "refresh"; meta.Content = "1"; Page.Header.Controls.Add(meta);