<script type="text/javascript"> function CheckWeekEndDay(sender, args) { var selecteddate = new Date(sender._selectedDate); if (selecteddate.getDay() != 2) { alert("Please Select a Valid Day"); sender._textbox.set_Value(''); return false; } } function onCalendarShown() { var cal = $find("calenddate"); for (var i = 0; i < cal._daysBody.rows.length; i++) { var row = cal._daysBody.rows[i]; for (var j = 0; j < row.cells.length; j++) { if (j != 2) { row.cells[j].setAttribute("class", "disablecal"); } } } } </script>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)