How to add meta tag to ASP.Net content page

Have not tried this with refresh, but in general you can add a meta tag like this:

   var keywords = new HtmlMeta { Name = "keywords", Content = "one,two,three" };
                Header.Controls.Add(keywords);

update: it is possible this way. Check Rick Strahl
http://www.west-wind.com/weblog/posts/2006/Aug/04/No-more-Meta-Refresh-Tags

Leave a Comment