I have a jquery DatePicker control From and To. Once the date is changed in either of them, I want to call a controller method. How can I do this and how can associate the event of changing date to the function.
Assume that Controller is called TestController and the method is TestMethod and it takes two parameters namely DateTime StartDate and DateTime EndDate.
Any ideas and suggestions are greatly appreciated.
You can use the onselect event for jquery datepicker to trigger a call to the controller once user select any date:
Hope this is what you want 🙂