Dileep Kumar
Knowledge is the Mother of Wisdom
Pages
Home
About Me
DotNet
SQL
JavaScript
Saturday, March 17, 2012
Highlighting the current date in AJAX CALENDER CONTROL
Add the following script to your aspx page
function CurrentDateShowing(e)
{
if (!e.get_selectedDate() || !e.get_element().value)
e._selectedDate = (new Date()).getDateOnly();
}
and set the property OnClientShowing="CurrentDateShowing".
Example:
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment