animated gif on it. After a certain timespan, I want that page to
redirect the user to another page. So, in effect, I can display a
progress bar of sorts. The problem is that timers don't work for this,
nor do custom events. I'm guessing that if I manually forced a
postback, I could catch that in the Page_Load method and do the
redirect there. I'm using c#. Thank you.terence.mcghee@.gmail.com (Terence McGhee) wrote in
news:83a1f44a.0408181508.4a042626@.posting.google.com:
> I'm guessing that if I manually forced a
> postback, I could catch that in the Page_Load method and do the
> redirect there.
You'll need to use javascript to auto-submit a form.
Lucas Tam (REMOVEnntp@.rogers.com)
Please delete "REMOVE" from the e-mail address when replying.
[url]http://members.ebay.com/aboutme/
spot18/[/url]you can use java script:
<html>
<head>
<title>My Redirect</title>
</head>
<body>
This page will redirect to <b>http://www.msdn.microsoft.com</b> in 5
seconds.
</body>
<script language="javascript">
window.setTimeout("reDirect()",5000);
function reDirect() {
window.location.href = "http://www.msdn.microsoft.com";
}
</script>
</html>
"Terence McGhee" wrote:
> Hello. All I want to do is have my web app display a page with an
> animated gif on it. After a certain timespan, I want that page to
> redirect the user to another page. So, in effect, I can display a
> progress bar of sorts. The problem is that timers don't work for this,
> nor do custom events. I'm guessing that if I manually forced a
> postback, I could catch that in the Page_Load method and do the
> redirect there. I'm using c#. Thank you.
>
0 comments:
Post a Comment