Date picker not always shown when editing date values on WebGrid

3 replies. Last post: March 2, 2016 10:05 AM by Erwin Sanders
Tags :
  • (None)
Dimitris Β.Member
Most of the time when a date value is edited on WebGrid after the page is loaded, the calendar control does not appear. The calendar button is clicked on the left side of the control but nothing shows up. I get the following error message on Chrome's console:

ISRes.axd?G/WebGrid_Calendar.js/9072001:1 Uncaught TypeError: Cannot read property 'options' of null

The WebGrid column is created at runtime programmatically and its EditType is set to ISNet.WebUI.WebGrid.EditType.CalendarDropdown

WebGrid version used: 9.0.7200

Thanks,
Dimitris

All Replies

Hi Dimitris,

I tried to replicate your issue on a sample project but unfortunately the problem didn't occur. What I couldn't figure out was how you managed to show the calendar button on the left side. I attached my sample here for you to try out.

Feel free to evaluate the sample, and if the problem occurs, you could send me your code for me to evaluate. Hope this helps.

Sorry, I mistakenly said that the button appears on the left, it's on the right side.

About the problem, it does not occur everytime. I thought the JS error would give you a tip.

Hi Dimitris,

I think it would be easier for me to solve the problem by replicating the issue. Would you please tell me step by step on how to reproduce the problem? I recorded my attempt to replicate the issue but still no luck (take a look at the attachment below).

In the meantime, you might want to try our latest version which is WebGrid 10. Here's the link to request trial: http://intersoftsolutions.com/requesttrial

All times are GMT -5. The time now is 4:39 PM.
Previous Next