Rank: Newbie Groups: Member
Joined: 9/13/2012 Posts: 2
|
Hi,
I am currently using the evaluation version of eo.web controls 10.0.36.2. I am trying to retrieve the selected date of datepicker from client-side(javascript) in asp.net application. This is the sample code used:
start = document.getElementById("<%= dpFromDate.ClientID %>").value; end = document.getElementById("<%= dpToDate.ClientID %>").value;
But this code is not returning the selected date of datepicker.Instead it is returning undefined error.
Please let me know the property or method to retrieve the date selected from datepicker using javascript. Also, need to validate the range of dates selected from datepicker.
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,195
|
Hi, You have to use our client side API to do that. See here for more details: http://www.essentialobjects.com/doc/1/clientapi_howto.aspxThanks!
|