So I have dropped a DatePicker control onto my web form. Have simple code to set the date to current date, and code on a button click event on the form to retrieve the selectedDate value from the control. All code is in the code behind.
The form compiles but when run, on the postback I get a "Method not found: Void <page class name>.set_<controlname>(System.DateTime)"
I have looked and nowhere in my code to I tie any method like this to my code behind. I assume this is something inside the controls codebase that is looking for this method. What needs to be put in there to get this to work?
The form compiles but when run, on the postback I get a "Method not found: Void <page class name>.set_<controlname>(System.DateTime)"
I have looked and nowhere in my code to I tie any method like this to my code behind. I assume this is something inside the controls codebase that is looking for this method. What needs to be put in there to get this to work?