Welcome Guest Search | Active Topics | Sign In | Register

Retrieve DatePicker Selected Date Client Side Options
Divya
Posted: Thursday, September 13, 2012 1:31:01 AM
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.

eo_support
Posted: Thursday, September 13, 2012 9:12:04 AM
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.aspx

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.