Hi all,
Can anyone tell me why the following javascript is not working?
document.body.onload = function() {
var txtDOB = document.getElementById("<%= txtDOB.ClientID %>");
txtDOB.set_maxDate(new Date('2009/04/15'));
}
The error I get is "Object doesn't support the property or method" on the set_maxDate line.
My aspx markup is
<telerik:RadDateInput ID="txtDOB" runat="server" DateFormat="dd/MM/yyyy">
</telerik:RadDateInput>
I am using Telerik Q2 2009 (2009.2.826.35)
Thanks