I build many .net applications that require date entry, so I implement the Date Picker control often.Â Unfortunately, there is a problem when it is used on a field that is validated using a .Net validation control.Â Upon clicking on a date, I get the following error:
length is null or not an object
This only occurs when using Internet Explorer.Â Currently, my only solution is to edit the source code.Â Locate the following code in jquery-ui.js or ui.datepicker.js:
Replace it with:
This prevents the change event firing in IE.
I wouldnâ€™t normally advocate changing source code in this manner, as it makes future upgrades tedious.Â Hopefully it will be addressed in a future release.