version 1.0.11119.0
when we define UserDateFormat of MaskedEditExtender, MaskedEditValidator will make use of UserDateFormat property, but it is using wrong format..
the code in MaskedEditValidator.cs , line 528 is wrong.
AttibFmt = (MaskExt.UserDateFormat == MaskedEditUserDateFormat.None ? AttibFmt : MaskExt.UserDateFormat.ToString());
In our usage, we just change it to
AttibFmt = (MaskExt.UserDateFormat == MaskedEditUserDateFormat.None ? AttibFmt : ToDMY(MaskExt.UserDateFormat));
and added a help function ToDMY
public string ToDMY(MaskedEditUserDateFormat fmt)
{
string ret = "DMY";
switch (fmt)
{
case AjaxControlToolkit.MaskedEditUserDateFormat.DayMonthYear:
ret = "DMY";
break;
.....
}
return ret;
}
Comments: Issues is closed as it is fixed with April 2013 release.
when we define UserDateFormat of MaskedEditExtender, MaskedEditValidator will make use of UserDateFormat property, but it is using wrong format..
the code in MaskedEditValidator.cs , line 528 is wrong.
AttibFmt = (MaskExt.UserDateFormat == MaskedEditUserDateFormat.None ? AttibFmt : MaskExt.UserDateFormat.ToString());
In our usage, we just change it to
AttibFmt = (MaskExt.UserDateFormat == MaskedEditUserDateFormat.None ? AttibFmt : ToDMY(MaskExt.UserDateFormat));
and added a help function ToDMY
public string ToDMY(MaskedEditUserDateFormat fmt)
{
string ret = "DMY";
switch (fmt)
{
case AjaxControlToolkit.MaskedEditUserDateFormat.DayMonthYear:
ret = "DMY";
break;
.....
}
return ret;
}
Comments: Issues is closed as it is fixed with April 2013 release.