7 Replies Latest reply on Nov 1, 2011 10:18 AM by Flex harUI

    Inline binding

    Zolotoj Level 3

      I have the following code:

      ....

      <s:Button id="btn1" enabled="{Cont1.grid.selectedIndex>=0}"/>

      .....

      <Cont1

              id="grid" width="800" height="100">

      </Cont1>

      ....

       

      I am getting compiler"s

      warning: unable to bind to property 'Cont1' on class .....

       

      and at the run time no binding is occurring. How can I fix the problem?

       

      Thanks