Hi,
What is the equivalent code for RAD Date Picker 'AJAX' Date Input control of the below event which is the RAD Date Picker 'Classic' control javascript event. I'm upgrading the RAD Controls from Q3 2007 version to Q2 2009 release.
function OnDateError(sender, args) |
{ |
if (args.Reason == RadInputErrorReason.ParseError) |
{ |
alert(args.InputText + " is an incorrect date format.\n\nThe format must be: MM/DD/YYYY"); |
} |
else if (args.Reason == RadInputErrorReason.OutOfRange) |
{ |
alert("The date is out of range"); |
} |
sender.Clear(); |
sender.Focus(); |
event.cancelBubble=true; |
} |
Thanks in advance.