473,386 Members | 1,733 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,386 software developers and data experts.

META HTTP-EQUIV="Refresh"

mg

Is there a way to replace the URL value below, on the fly?

<META HTTP-EQUIV="Refresh"
CONTENT="3;URL=http://www.some.org/some.html">
Nov 18 '05 #1
3 1919
Use literal control.
Or simple syntax
<%=myvarname%>
then create member variable and set it to correct value.
George
My Site - Body Jewelry
"mg" <mg@discussions.microsoft.com> wrote in message news:2C**********************************@microsof t.com...

Is there a way to replace the URL value below, on the fly?

<META HTTP-EQUIV="Refresh"
CONTENT="3;URL=http://www.some.org/some.html">
Nov 18 '05 #2
Sure. Add a runat=server attribute and an id to it, and declare it in your
class definition as an HtmlGenericControl.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

"mg" <mg@discussions.microsoft.com> wrote in message
news:2C**********************************@microsof t.com...

Is there a way to replace the URL value below, on the fly?

<META HTTP-EQUIV="Refresh"
CONTENT="3;URL=http://www.some.org/some.html">

Nov 18 '05 #3
Hi,

you can always put the runat="server" as well as ID attributes to the
control and then access it from server-side.

--
Teemu Keiski
MCP, Microsoft MVP (ASP.NET), AspInsiders member
ASP.NET Forum Moderator, AspAlliance Columnist
http://blogs.aspadvice.com/joteke
"mg" <mg@discussions.microsoft.com> wrote in message
news:2C**********************************@microsof t.com...

Is there a way to replace the URL value below, on the fly?

<META HTTP-EQUIV="Refresh"
CONTENT="3;URL=http://www.some.org/some.html">

Nov 18 '05 #4

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

Similar topics

24
by: AES/newspost | last post by:
On many web sites or pages (including my own home page) clicking on certain links will start downloading a PDF file, sometimes without the author having provided any warning in the text of the page...
2
by: Bill Cohagan | last post by:
I'm trying out ASP.Net and am currently trying to figure out how to refresh the contents of one frame based on a button click in another frame. The button in question is actually a server side...
6
by: Pealy | last post by:
Hi. I'm trying to get one of the examples from ASP.NET 1.1 Insider Solutions to work in asp.net and i'm getting stuck on using the META tage to do a refresh. I have the following in my HTML...
1
by: David | last post by:
how can I force the "document.execCommand("Refresh");" command to refresh page only one time?
2
by: ujjc001 | last post by:
For some reason I can't Response.AppendHeader("Refresh", Convert.ToString((Session.Timeout * 60) + 60) & "; URL=default.aspx") to add the tag into the header. In the source the refresh header is...
1
by: IkBenHet | last post by:
Hello, Currently I am using a large input form on a website that is based on ASP and JavaScript. Depending on the values that are filled in by the user the forms does a refresh and makes...
4
by: simon | last post by:
hello, i have a section of a page that has multiple dropdowns. each dropdown calls the same method on a change of selection by the user. the method loops over all the dropdowns and if the newly...
5
by: Jeremy | last post by:
Hi all, I have database actions that will potentially take several seconds to complete. My normal page uses AJAX so keeping the user informed of what is happening is not a problem. ...
4
by: Simon | last post by:
Dear reader, If I change the content of a field in an event procedure and in the same procedure I do a refresh, the refresh has no effect. The code in the event is as follows:
5
by: tabariz | last post by:
Hello everybody can anyone tell me whats the correct syntax to add a variable previously declared to the url in the command header("refresh: 5, url:) for example i want my URL to be ...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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:
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

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.