title: Jquery get property from C# has warning in visual studio 2012
body: <p>I have a property in the aspx.cs page:</p>
  
  <pre><code>public string UtilizatorLogat 
  { 
      get 
      { 
          return (!(Session["utilizator"] == null)).ToString().ToLower(); 
      } 
  }
  </code></pre>
  
  <p>And I get it in the aspx page, on $(document).ready:</p>
  
  <pre><code>utilizatorLogat = &lt;%=UtilizatorLogat%&gt;;
  </code></pre>
  
  <p>But visual studio says: <strong>Syntax Error</strong>.</p>
  
  <p>I cannot include it in <code>""</code> because it's a boolean value and I don't want to make it a string one...</p>
  
  <p>Any ideas why is this warning shown?</p>