I want to programmatically add “<meta http-equiv="Refresh" content="30"/>” to a single page that I am writing. It is using ASP.net 2.0 in c#
I have a masterPage. I am able to change the title of the page but whenever I add the above it breaks my styles and everything is the default html look. The code that I am trying is below
protected void Page_Load(object sender, EventArgs e)
Master.Page.Title = title;
Master.MasterPageLabel.Text = "<h1>"+title+"</h1>";
Master.Page.Header.InnerHtml = "<meta http-equiv=\"Refresh\" content=\"30\"/>"
Title is declared earlier on the page.