I think I'm using the wrong namespace but I'm not sure what it should be! I
would be grateful for any advice!
I checked the HTML source and the code isn't generated!
Can someone please help!
Inlinecode...
<!----- dynamically filled META REFRESH element ----->
<meta id="mtaRefresh" runat="server" />
Codebehind...
Protected WithEvents mtaRefresh As
System.Web.UI.HtmlControls.HtmlGenericControl
mtaRefresh.Attributes.Add("http-equiv", "refresh")
mtaRefresh.Attributes.Add("content", "0;url=" & sRefreshURL)
Thank you!
Protected WithEvents tagBody As System.Web.UI.HtmlControls.HtmlGenericControl
"Patrice" wrote:
Start by checking the HTML code using "view source" to find out if this is
a problem with creating the HTML server side or how the browser behaves
client-side. If the HTML looks good try a non zero value...
Patrice
--
"Tim::.." <myatix_at_hotmail.com> a écrit dans le message de
news:22**********************************@microsof t.com... Can someone please tell me why the following dynamic refresh doesn't work!
Thanks
Inline code...
<!----- dynamically filled META REFRESH element ----->
<meta id="mtaRefresh" runat="server" />
..CodeBehind
Protected WithEvents mtaRefresh As
System.Web.UI.HtmlControls.HtmlGenericControl
' use META REFRESH to start loading next page
mtaRefresh.Attributes.Add("http-equiv", "refresh")
mtaRefresh.Attributes.Add("content", "0;url=" & sRefreshURL)