function checkDate(sender,args)
{
var dt = new Date();
if(sender._selectedDate > dt)
{
sender
._textbox
.set_Value(dt.format(sender._format));
alert(“You cannot Select Date Greater than Today”);
}

}

— call this function on .. ajax calander