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:
if ( '<%=IsTabVisible%>' == 'True'){
///
}
It works, but quite ugly. Is there a better way to do this?
Thank you