You can do the following:
Add a hidden textbox in your master page or your page as follows:
<input type="hidden" id="testBox" runat="server" value="no"/>
and call the function onload, if javascript is working the value in the texbox should change.
<body onload="CheckJsc()"> in your master page
<script type="text/javascript">
function
CheckJsc() { document.getElementById("_ctl0_ContentPlaceHolder1_testBox").value = "yes";
}
</
script>
then in the pages were u need to check if javascript is enabled (and these pages are using the master page where u have the hidden textbox)..
Check if the value in the textbox has changed if not redirect to the javascript.aspx page:
dim s as string = testbox.text or master.findcontrol("textBox").text
if (s="no")
' javascript is not working so
' response.redirect("...")
else
'continue ...
Dont forget to Mark as Answer if my reply helped you....