J
joeblast
Can someone explain to me why the META Refresh doesn't work in an ASP.NET
page? It works just fine in my old asp one!
Content value has to be in quotes if not otherwise I get a warning.
Thanks
DOTNET
--------------------
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb"
Inherits="_Default" EnableSessionState="True" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>TEST</title>
<meta http-equiv="refresh" content="10" />
</head>
<body>
</body>
</html>
ASP
----------
<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>TEST</title>
<META HTTP-EQUIV="REFRESH" CONTENT=10>
</head>
<body>
<div>
</div>
</body>
</html>
page? It works just fine in my old asp one!
Content value has to be in quotes if not otherwise I get a warning.
Thanks
DOTNET
--------------------
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb"
Inherits="_Default" EnableSessionState="True" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>TEST</title>
<meta http-equiv="refresh" content="10" />
</head>
<body>
</body>
</html>
ASP
----------
<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>TEST</title>
<META HTTP-EQUIV="REFRESH" CONTENT=10>
</head>
<body>
<div>
</div>
</body>
</html>