PDA

View Full Version : AjaxEvent get the wrong DateFiled.SelectedDate!



bruce
Mar 17, 2009, 10:17 AM
Hi, guys! This is an ajax event

protected override void Submit(object sender, AjaxEventArgs e)
{
//I get the DateFiled's SelectedDate here, but the SelectedDate is "01/01/0001" wrong!
}

please tell me why?Thanks


my question is the date display in page is "17/03/2009", but got it in ajax event is 01/01/0001

??????Why

yaser82
Mar 17, 2009, 2:17 PM
Hi bruce,
check this one: http://forums.ext.net/showthread.php?threadid=8413-4-1.aspx, hope it helps.

bruce
Mar 17, 2009, 11:10 PM
thanks, but not that problem.

bruce
Mar 17, 2009, 11:16 PM
my question is the date display in page is "17/03/2009", but got it in ajax event is 01/01/0001

??????Why

Vladimir
Mar 18, 2009, 4:43 AM
Hi,

I think you need post a sample which demonstrates the problem.
01/01/0001 is MinDate which used if no submitted data or submitted data can't be parsed