Set programmaticaly the Text property calling a function from code behind
<p>I'd like to initialise the label of the button from function from code behind:</p>

<pre><code>&lt;asp:Button ID="BtnAjoutClient" runat="server" Text='&lt;%= GetText()%&gt;' /&gt;
</code></pre>

<p>and in the code behing a simple function like:</p>

<pre><code>protected String GetText() {
  return "test";
}
</code></pre>

<p>But the caption of the button shows me the raw code (and the function is never called). I tryied also <code>&lt;%# GetText() %&gt;</code>. Do you know why ?</p>

<p>Regards</p>
