Template variable in ASP.NET
<p>I have to add a Page's variable into a ItemTemplate but dont know how.</p>

<p>For example:</p>

<pre><code>&lt;rad:RadMenuItem ID="f" runat="server" Text="Products"&gt;
   &lt;ItemTemplate&gt;
     &lt;div class="pitem"&gt;&lt;%= MyText %&gt;&lt;/div&gt;
   &lt;/ItemTemplate&gt;
&lt;/rad:RadMenuItem&gt;
</code></pre>

<p>The MyText variable does exist in the context and has value but the text does not show up</p>

<p>Another question:
How can I add MyText to the ASP.NET page like the following?</p>

<pre><code>&lt;asp:Button Text="&lt;%=MyText%&gt;" .../&gt;
</code></pre>

<p>I dont want to edit the code like btn.Text=MyText, just want to do that on the .aspx file as required.</p>
