title: C#: execute script from code behind with data asignment
body: <p>I'm trying to refer to data using javascript from code behind with the following code:</p>
  
  <pre><code>ClientScript.RegisterStartupScript(Page.GetType(), "validation", "************ some code ******** &lt;h1&gt;${data.features[0].properties.BLOCK}&lt;/h1&gt;&lt;/script&gt;");
  </code></pre>
  
  <p>this part <code>${data.features[0].properties.BLOCK}</code> is not excecuted.</p>
  
  <p>how can i write it?</p>