I need to detect if javascript is enabled or not in asp.net page load in c#
<p>I have tried below code and it is detecting whether current request browser is supports to java script or not only. But my actual requirement is detect particular request browser that whether java script is enabled or disabled by the time request hit the page_load method</p>

<pre><code>var request = HttpContext.Current.Request;
bool jsEnabled = request.Browser.JavaScript;

if (!jsEnabled)
{
    javaScriptEnabled = false;
}
</code></pre>