Javascript: How to check boolean value from code-behind in ASP.NET
<p>I have a boolean property in code-behind ASP.NET, now I want to use it in Javascript of mark-up file, but Javascript do not understand True, or False. SO now, I'm using this:</p>

<pre><code>if ( '&lt;%=IsTabVisible%&gt;' == 'True'){
///
}
</code></pre>

<p>It works, but quite ugly. Is there a better way to do this?</p>

<p>Thank you</p>
