header
ask question
Click here to ask Question Now Its free No registration required. Flash, Flex, Flash Media Server, ActionScript,Adobe Air. Most questions receive a response in an hour.
amutha
Points:400
Posts:0

10/22/2010 9:47:59 PM

Title: date field


hi i have one datefield i want to disable the past days in my data field. for ex today is oct 22 means i can access the date field from 22 oct 2010 before days of october and before months are disabled. how can i do in in flex 3?please help me?



1
Xem
Points: 0
Posts:0
10/23/2010 10:16:51 AM



you can disable the range of dates or single day in datefied component in flex.



<mx:DateField disabledRanges="{[new Date(2010,0,11), {rangeStart:new Date(2010,0,23), rangeEnd: new Date(2010,1,10)},{rangeStart: new Date(2010,2,1)}]}"/> 

//if range end is not specified then the start date is only disabled 


2
cf_flex
Points: 240
Posts:0
10/25/2010 5:16:35 AM



<mx:DateField id="stDateChoser" parseFunction="null" selectableRange="{{rangeStart :new Date()}}" selectedDate="{new Date()}"/>


Post your Reply
Name  

Email

Type your Reply or Answer

Are you human? What is 6+4 



Members Login

Email  
Password
Forgot Password





This website focus on: Flash | Flex | FMS | RED5 | WOWZA | Flash Media Server | Adobe AIR | ActionScript,Flash Solutions | Flash Question | Flash Answers | Flash Developers | Flash Problem, Flash Help, Flash bugs, Flash workaround | Flash Blog | Flex Question Answers | Flash Forum | Flex Development | Actionscript development | Flash development | Adobe AIR development
Copyright © 2008 AskMeFlash.com. All rights reserved. Privacy Policy | Terms & Conditions