title: Check if Browser's JS is enabled or disabled in backend code in asp.net
body: <p>I need to check whether my browser's JS is enabled or disabled from server side and write the code according to that. I analysed many forums but all solutions are given in script side and to use  tag.  But for the performance base, i need to handle the code from server side. My page is aspx file. I need to handle it in aspx.cs file.</p>
  
  <p>Example:</p>
  
  <pre><code>if(js is enabled){
  asp control 1 display...
  }
  
  if(js is disabled){
  asp control 2 display...
  }
  </code></pre>
  
  <p>If js is enabled class js is adding and if js is disabled class no-js is adding in my html automatically.</p>
  
  <p>Please help me with this.
  Thanks.</p>