calling a code behind member from javascript
<p>I have an ASPX.CS code:</p>

<pre><code>Protected int myprop
</code></pre>

<p>I would like to call it on a JS assignment :</p>

<pre><code>&lt;script type='text/javascript'&gt;
...
 data.add(['SomeJSProperty', "&lt;%..myprop from code behind%&gt;"]);
</code></pre>

<p>I remember doing it with &lt;% %> inline code and it used to view the code behind protected and public members. but it won't work now.</p>

<p>Thanks</p>
