Hi Ravi,
dateGrid.addEventListener(CalendarLayoutChangeEvent.CHANGE,dateChange); Since the function is required there in addEventListener method, I use dateChange function. Thanks, Hemanth On Thu, Apr 16, 2009 at 10:27 PM, Ravi Mishra <[email protected]>wrote: > > Hi Hemanth, > > Can you pls tell me why you are using this: > > private function dateChange(evt:Event):void > { > dispatchEvent(evt); > } > > -Ravi > On Apr 16, 2:00 pm, "Hemanth Kumar T.S" <[email protected]> > wrote: > > HI all, > > > > I'm using a CalendarLayout for building a calendar with holidays and > > weekends as differnt color and non selectable. > > > > And also i've added a Today link at the calendar background, so that once > > the user selects Today Link, the today date will be entered in text box. > > Actually its happening right now, but the problem here is that calendar > > background in not closing. > > > > I'm using states for popup and closing of calendar.The closing of popup > is > > happening when the user selects any date, but its not happening when the > > user selects Today link. > > > > Any help is welcome. > > > > have attached 2 files for your reference. > > > > Thanks, > > Hemanth > > > > PopUp2.mxml > > 10KViewDownload > > > > Calendar.mxml > > 9KViewDownload > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Flex India Community" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/flex_india?hl=en -~----------~----~----~----~------~----~------~--~---

