D
Dst
<head runat="server">
<noscript>
<meta http-equiv='refresh' content='0;url=Unsupported.htm'/>
</noscript>
</head>
If i add this to my webform, it redirects to Unsupported.htm if
javascript is disabled.
But i'm trying to make a utility class that will add this code
serverside.
Is it possible to add this to the resonse header server side:
<noscript>
<meta http-equiv='refresh' content='0;url=Unsupported.htm'/>
</noscript>
I have only seen exampes like this:
Response.AppendHeader("Refresh", "0; url=Unsupported.htm");
But this of course always redirects, because it has no noscript tags.
Not sure how i can add this with noscript tags..
Anyone ?
<noscript>
<meta http-equiv='refresh' content='0;url=Unsupported.htm'/>
</noscript>
</head>
If i add this to my webform, it redirects to Unsupported.htm if
javascript is disabled.
But i'm trying to make a utility class that will add this code
serverside.
Is it possible to add this to the resonse header server side:
<noscript>
<meta http-equiv='refresh' content='0;url=Unsupported.htm'/>
</noscript>
I have only seen exampes like this:
Response.AppendHeader("Refresh", "0; url=Unsupported.htm");
But this of course always redirects, because it has no noscript tags.
Not sure how i can add this with noscript tags..
Anyone ?