4 Replies Latest reply on Aug 18, 2009 9:58 AM by Flex harUI

    ComboBox is not calling iniating dataProvider method.

    karnatis Level 1

      Hi All,

       

         Defined ComboBox with dataProvider as below:

       

         

       

      <mx:ArrayCollection id="resultAC" source="{ArrayUtil.toArray(ro.getStateCodes.lastResult)}"> </mx:ArrayCollection>

       

      <mx:ComboBox

       

      prompt="Please select state" dataProvider="{resultAC}" id= "combobox" />

       

      I'm in a impression that ComboBox will initiate dataProvider request to fill data...but it is not even calling this method...Can someone please let me know how to initiate dataProvider method from ComboBox.

       

          In applicationComplete I'm accessing another method and it is working fine(filling DataGrid).

       

          Thanks in advance.

       

      Regards,

      Sharath.