This is a migrated thread and some comments may be shown as answers.

RadDateInput.InvalidDateString

1 Answer 24 Views
Input
This is a migrated thread and some comments may be shown as answers.
Richard
Top achievements
Rank 1
Richard asked on 29 Jul 2010, 08:45 PM
How would I be able to retrive the value form RadDateInput.InvalidDateString?

Thanks,

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 30 Jul 2010, 08:43 AM
Hello Richard,


In the client side OnError event, you will be able to access the invalid date typed by user.

javascript:
<script type="text/javascript">
function OnError(sender, args)
{
    alert("Invalid Date   :" + args.get_inputText());
}
</script>


mark-up:
<telerik:RadDateInput ID="RadDateInput1" Runat="server">
    <ClientEvents OnError="OnError"/>
</telerik:RadDateInput>



-Shinu.
Tags
Input
Asked by
Richard
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or