I am trying to set the selected Date via client-side using the javascript method, but when the even is fired I get the following jscript exception:
Microsoft JScript runtime error: Object doesn't support this property or method
This is my javascript code in the web page:
but the debugger stops in this line of the control js code:
the next six lines also do the same if you continue executing the code, with
I checked the type of the _43 variable on the debugger and VS tells me is a String..
Any idea what am I doing wrong?
Microsoft JScript runtime error: Object doesn't support this property or method
This is my javascript code in the web page:
var raddatepickerDueDate = $find("<%= raddatepickerDueDate.ClientID %>"); raddatepickerDueDate.set_selectedDate('2008/1/1'); |
but the debugger stops in this line of the control js code:
var y=""+_43.getFullYear(); |
the next six lines also do the same if you continue executing the code, with
var M=_43.getMonth()+1; var d=_43.getDate(); var E=_43.getDay(); var H=_43.getHours(); var m=_43.getMinutes(); var s=_43.getSeconds(); |
I checked the type of the _43 variable on the debugger and VS tells me is a String..
Any idea what am I doing wrong?