Meta Refresh Tag (turn on and off)

  • Thread starter Thread starter aaa
  • Start date Start date
You could create a meta refresh tag and set it to runat="server" and provide
it some ID. Then in code behind you can reference it as a HtmlGenericControl
and set the disabled property to true/false depending on if you want to show
it.

Hope this helps,
Mark Fitzpatrick
Microsoft MVP - FrontPage
 
could you provide an example please?


Mark Fitzpatrick said:
You could create a meta refresh tag and set it to runat="server" and provide
it some ID. Then in code behind you can reference it as a HtmlGenericControl
and set the disabled property to true/false depending on if you want to show
it.

Hope this helps,
Mark Fitzpatrick
Microsoft MVP - FrontPage
 
Doesn't work.

Mark Fitzpatrick said:
You could create a meta refresh tag and set it to runat="server" and provide
it some ID. Then in code behind you can reference it as a HtmlGenericControl
and set the disabled property to true/false depending on if you want to show
it.

Hope this helps,
Mark Fitzpatrick
Microsoft MVP - FrontPage
 
What does work is having a flag in the code behind and merely
response.writing out the meta refresh tag based on the flag...fyi.
 
Back
Top