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 correctlyValidFromJS.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
It seems you are using the grid's utility function. Is this a cell in the grid or just a plain WebDateChooser? If the latter, refer to my post (first response) here:
http://forums.infragistics.com/forums/p/5199/23623.aspx
Essentially, you want to use the WebDateChooser's utility function.
CSOM Documentation (go to the last Child Node of ASP.NET):
http://help.infragistics.com/NetAdvantage/NET/2008.1/CLR2.0/