Meta Refresh Tag (turn on and off)

M

Mark Fitzpatrick

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
 
A

aaa

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
 
A

aaa

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
 
A

aaa

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Staff online

Members online

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,816
Latest member
SapanaCarpetStudio

Latest Threads

Top