below code sample will verify whether javascript is enable in client browser or not. .NET Framework provide HttpBrowserCapabilities class to determine the various property of the client browser.
Below code sample will return true if javascript is enable in the client browser else return false value.
HttpBrowserCapabilities httpBrowser = new HttpBrowserCapabilities();bool enableJavascript = httpBrowser.JavaScript; // return true if Javascript enabled in client Browser