4 Replies Latest reply on Oct 26, 2006 7:32 AM by dimival

    DateChooser multipleSelection

    BaileyBurger Level 1

      Can't figure how to get the values back from a dateChooser control with allowMutlipleSelection set to true. Alert.show(String(myChooserControl.selectedDate)) only displays the first of the selected dates. How do I get back all of the dates? Thanks!
        • 1. Re: DateChooser multipleSelection
          dimival Level 1
          Maybe you can try using the selectedRanges property, this property is an array of objects. Each object in this array has two date Objects, rangeStart and rangeEnd.

          maybe that can be used
          • 2. Re: DateChooser multipleSelection

            I'm sorry to bug you with a non-technical discussion, but I am a recruiter in San Diego. My client is in need of 3 Senior Flex Developers for their project. I have had an extremely rough time finding someone for this position. Would you be interested in this position, or do you know of anyone that might be? We do pay referral fees. This position may be open to telecommuting.

            Job Description:
            They are in the midst of a major re-architecting of their Corporate Management system utilizing many cutting edge technologies. As it relates to the position they are using Flex as their UI.

            This is either a contract, or a full-time position.

            Pay: Market Rate

            Thanks for your help!

            Natalie Fay
            Outsource Technical
            • 3. Re: DateChooser multipleSelection
              BaileyBurger Level 1
              That did it. Thanks, dimival!!!

              private function handlerCalendar():void
              var StartDate:String = String(dcCalendar.selectedRanges[0].rangeStart);
              var EndDate:String = String(dcCalendar.selectedRanges[0].rangeEnd);
              Alert.show(StartDate + EndDate);

              <mx:VBox id="CalendarForm" horizontalAlign="center" width="100%" height="100%" visible="false">
              <mx:DateChooser id="dcCalendar" yearNavigationEnabled="false" allowMultipleSelection="true"/>
              <mx:Button label="Save Event" click="handlerCalendar()"/>
              • 4. Re: DateChooser multipleSelection
                dimival Level 1
                Glad i could help :)