Click here to Skip to main content
15,882,017 members
Please Sign up or sign in to vote.
4.50/5 (2 votes)
var selected_Date=document.getElementById("calDOB").value;

this is my code, i want to get selected date from asp.net calendar caontrol using javascript only
Posted

var Selected_Date=document.getElementById('<%= Control.ClientID%>').value;

or
var calendarDate='<%= YourCalendarControlID.SelectedDate %>';

follow this link
http://forums.asp.net/t/1837759.aspx[^]
 
Share this answer
 
Hi, I suggest you quit using any control from ASP. NET and start using Twitter BootStrap which is a powerful tool for developing flexible web applications. It includes a calendar control, much more beautiful and elegant that the one included in Telerik or any other web tool I´ve ever seen.
 
Share this answer
 
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900