Julian
1/23/2003 4:22:00 PM
How about set the ValueToCompare in the Page_Load event, not at design time?
Protected void Page_Load(....){
xxx.ValueToCompare = DateTime.Now.ToString("dd/MM/yyyy");
}
"Jason Butera" <jjbutera@hotmail.com>
???????:509b03ca.0301200632.140ed20@posting.google.com...
> Is there a way to do this? I tried system.datetime.today as the
> ValueToCompare property, but the framework doesn't see this as script,
> rather text. My textbox needs to be a valid date before today's date.
> Thanks.