469,625 Members | 1,097 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,625 developers. It's quick & easy.

Insert, Crop META-Tags programmtechnically

hi
how can i Insert, change and crop META-Tags auf a Webform
programmtechnically?
Regards
Jazper
Nov 15 '05 #1
1 1408
Found the solution myself

Add in HTML-View
<meta id="tagMetaRefresh" runat="server">

Add in Webform-Class
protected System.Web.UI.HtmlControls.HtmlGenericControl tagMetaRefresh;

Add in Weform-Code
this.tagMetaRefresh.Attributes.Add("http-equiv", "refresh");
this.tagMetaRefresh.Attributes.Add("content", "3");
or
this.tagMetaRefresh.Attributes.Clear();

Regards, Jazper


"Jazper" <j.***@bluewin.ch> wrote in message
news:e0**************@TK2MSFTNGP12.phx.gbl...
hi
how can i Insert, change and crop META-Tags auf a Webform
programmtechnically?
Regards
Jazper

Nov 15 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by Kevin Smith | last post: by
1 post views Thread by tshad | last post: by
3 posts views Thread by ACaunter | last post: by
6 posts views Thread by John Salerno | last post: by
reply views Thread by vincenzoelettronico | last post: by
reply views Thread by brahimbb17 | last post: by
reply views Thread by gheharukoh7 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.