when implementing a JQuery DateTime picker in ASP.NET using this code:
$(document).ready(function
() {
$(".<%= DepartDate.ClientID %>").datepicker();
$(".<%= ReturnDate.ClientID %>").datepicker();
});
works fine in an ASP.NET .aspx page... when I try and implement the same on a UserControl, I get this error:
Name 'DepartDate' is not declared.
Name 'ReturnDate' is not declared.
this builds upon a previous entry located here:
https://www.experts-exchange.com/questions/27188534/JQuery-DatePicker-in-ASP-NET.html
Using the UserControl :
Open in new window
Test page :Open in new window