473,395 Members | 1,823 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Meta Refresh Tag (turn on and off)

aaa
How can I turn a Meta Refresh Tag on and off?
Nov 19 '05 #1
4 1532
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

"aaa" <so*****@microsoft.com> wrote in message
news:u%****************@TK2MSFTNGP14.phx.gbl...
How can I turn a Meta Refresh Tag on and off?

Nov 19 '05 #2
aaa
could you provide an example please?
"Mark Fitzpatrick" <ma******@fitzme.com> wrote in message
news:Or**************@TK2MSFTNGP14.phx.gbl...
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

"aaa" <so*****@microsoft.com> wrote in message
news:u%****************@TK2MSFTNGP14.phx.gbl...
How can I turn a Meta Refresh Tag on and off?


Nov 19 '05 #3
aaa
Doesn't work.

"Mark Fitzpatrick" <ma******@fitzme.com> wrote in message
news:Or**************@TK2MSFTNGP14.phx.gbl...
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

"aaa" <so*****@microsoft.com> wrote in message
news:u%****************@TK2MSFTNGP14.phx.gbl...
How can I turn a Meta Refresh Tag on and off?


Nov 19 '05 #4
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.
"Mark Fitzpatrick" <ma******@fitzme.com> wrote in message
news:Or**************@TK2MSFTNGP14.phx.gbl...
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

"aaa" <so*****@microsoft.com> wrote in message
news:u%****************@TK2MSFTNGP14.phx.gbl...
How can I turn a Meta Refresh Tag on and off?


Nov 19 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Artificial Life | last post by:
urllib2 does not seem to be able to handle META-REFRESH in an html document. I just get back the html to the page that is supposed to forward me to the intended page. Any way around this?
43
by: dan baker | last post by:
I have a page that gets loaded with a meta-refresh hardcoded so that a few things on the page get updated. its kind of a fake chat board. anyway, what I need to do is turn off the meta-refresh once...
1
by: Lew | last post by:
Hi all, I'm trying to create a page that has a user-selectable page auto-refresh option (IE 5.5). Essentially, it's a page that contains a checkbox, when the user checks the checkbox, I'd like...
14
by: Shiperton Henethe | last post by:
Hi Is there anyway to get a meta refresh to do so in an new browser window? e.g. This code forwards this user after 8 seconds... <meta http-equiv=refresh...
2
by: scorp7355 | last post by:
I was wondering if there is some other way to turn autocomplete off besides using "autocomplete=off", using a meta tag or something similar. It would be great if there is some way to turn it off...
1
by: Maziar Aflatoun | last post by:
Hi everyone, My goal is to modify the contents of my meta tag (html refresh). However, my code adds a new instance of the meta tag at the bottom of the page. Is there a way to modify it instead...
2
by: Rob Meade | last post by:
Hi all, I have the need to write a meta tag to the page BEFORE it loads... My page does 3 things based on whats passed through in the query string: 1. Receive a file id and check its valid,...
4
by: Tim::.. | last post by:
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" />...
1
by: rodchar | last post by:
hey all, can someone give me a definition for dummies for the following: <html> <meta http-equiv="refresh" content="5;url=http://localhost/helloworld.htm" /> what's the concept behind the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.