title: how to get property from code behind jquery variable?
body: <p>I want to retrieve property value in jquery function and want to set it in variable. I am trying with below code but its not working.</p>
  
  <p>.cs file</p>
  
  <pre><code>private string _Heading;
  public string Heading { get { return _Heading; } set { _Heading = value; } }
  </code></pre>
  
  <p>.aspx</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
  
      $(document).ready(function () {
        $("#btnShowSimple").click(function (e) {
          ShowDialog(false);
          e.preventDefault();
          var someProp = "&lt;%= this._Heading; %&gt;";
         alert(someProp);
        });
   &lt;/script&gt;
  </code></pre>
  
  <p>What should i do to retrieve property value?? Anyone have solution than please help me in this.</p>