Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
170
WebDateChooser setValue method not working
posted

Hello, 

This control has been driving me crazy for the las couple of hours and I cannot find any samples or clear documentation on it. I am trying the following code but I cannot get it to work correctly:

var ValidFromJS = igtbl_getElementById("ValidFrom"); //Where ValidFrom is the target WebDateChooser control

var oDate=new Date();
alert(oDate); //Pops up todays date correctly
ValidFromJS.setValue(oDate); //Returns: Object doesnt support this property or method I also tried using oDate.getDate()

I checked that the Variable ValidFromJS refers correctly to the WebDateChooser control.

Any help would be greatly appreciated. I am using the NetAdvantage 2006 volume 3 version on VS 2003

 

Parents
No Data
Reply Children
No Data