How to access asp.net property in javaScript?
<p>I'm trying this code to access a property but it gives me an error:</p>

<pre><code>&lt;textarea class="&lt;%#Eval("soort").ToString() %&gt;" ID="TextTranslation" runat="server" rows="5"&gt;&lt;%#Eval("Translation") %&gt;&lt;/textarea&gt;
</code></pre>

<p>The error:</p>

<blockquote>
  <p>Server Error in '/' Application.<br>
  Parser Error<br>
  Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.   </p>
  
  <p>Parser Error Message: The server tag is not well formed.</p>
  
  <p>Source Error: </p>
  
  <p>Line 17:         <br>
  Line 18:         &lt;%# (Eval("IsoCode").ToString() != Eval("Default").ToString()) ? " hidden" : "" %>"><br>
  Line 19:             " ID="TextTranslation" runat="server" rows="5">&lt;%#Eval("Translation") %><br>
  Line 20:         <br>
  Line 21:           </p>
  
  <p>Source File: /assets/usercontrols/TranslationControl.ascx    Line: 19 </p>
  
  <p>Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET  Version:4.0.30319.272</p>
</blockquote>
