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:


                 

Comments

Popular posts from this blog

Dynamically Creating Image in C#.Net

SENDING MAIL USING OUTLOOK IN VB.NET

Data Table Vs List