The Date value submitted to the Controller method from the DateRangePicker control is not compatible with the System.DateTime .NET Type.
Populate grid, initialize with DateTime parameter type
See attached files:
- Annotation 2020-05-05 1.png - This is what happens the first time the grid.Read method is called
- Annotation 2020-05-05 alert.png - This shows the same alert from the gridGetData method 1st attempt then after the onDateRangeChange is called.
onDateRangeChange: Nothing. The Controller is not called
Populate grid, initialize with string parameter type
I changed the Controller.IndexJson method's Parameter from DateTime to String DataType
At this point, the gridGetData successfully fired the Controller method and the string value given matched what was on the "Annotation 2020-05-05 alert.png" right side. On DateTime.TryParse, the value was not compatible with .NET.
Thanks in advance for your help,