The below code can be used to redirect user after predefined time interval.
Code:
string script = "<SCRIPT Language='JavaScript'> ";
script += "redirection()";
script += "</SCRIPT>";
Page.RegisterClientScriptBlock("ClientScript", script);
Javascript (Add it to the head of the page):
<script type="text/javascript">
function redirection()
{
alert('You wil be redirected to Google.com after 10 seconds.');
setTimeout("top.location.href = 'http://www.google.com'", 10000);
}
</script>
Regards..:)