I have defined a javascript variable as follows

    <ext:ScriptManager ID="ScriptManager1" runat="server"  />
      <script type="text/javascript">
        var myid = <%= ViewData["id"] %>; 
I also can access and display this variable

  <script type="text/javascript" >
    &#100;ocument.write(myid );

<h2><%= Html.Encode(ViewData["myid "]) %></h2>
But how can I access this variable within an ext-Control?

Neither of the following trials do work:

<ext:Label id = "testFilter" runat="server"  Text='<%# this.myid  %>' AutoDataBind="true" />
<ext:Label id = "testFilter" runat="server"  Text='<%# myid  %>' AutoDataBind="true" />
<ext:Label id = "testFilter" runat="server"  Text='<%# {myid}  %>' AutoDataBind="true" />
<ext:Label id = "testFilter" runat="server"  Text='#{id}' AutoDataBind="true" />
A possible solution: (But the origin problem, that I can't assign myid to a control's value still remains.)

<ext:Label id = "testFilter" runat="server"  Text='<%# this.ViewData["id"] %>' AutoDataBind="true" />
Is there a documentation of the syntax how to access variables in general withing Coolite? And if yes, where can I download it?

Many thanks in advance

Hans Weber