here is the way.
<asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
<asp:CalendarExtender ID="TextBox1_CalendarExtender" runat="server"
Enabled="True" TargetControlID="TextBox1" OnClientShown="DisableWeekends">
</asp:CalendarExtender>
<asp:CalendarExtender ID="TextBox1_CalendarExtender" runat="server"
Enabled="True" TargetControlID="TextBox1" OnClientShown="DisableWeekends">
</asp:CalendarExtender>
javascript method
for (var i = 0; i < 6; i++) {
var row = sender._days.children[0].childNodes[1].children[i];
for (var j = 0; j < 7; j++) {
var cell = row.children[j].firstChild;
if (cell.id == sender._id + "_day_" + i + "_" + "5") {
cell.style.display = "none";
}
if (cell.id == sender._id + "_day_" + i + "_" + "6") {
cell.style.display = "none";
}
}
}
for (var i = 0; i < 6; i++) {
var row = sender._days.children[0].childNodes[1].children[i];
for (var j = 0; j < 7; j++) {
var cell = row.children[j].firstChild;
if (cell.id == sender._id + "_day_" + i + "_" + "5") {
cell.style.display = "none";
}
if (cell.id == sender._id + "_day_" + i + "_" + "6") {
cell.style.display = "none";
}
}
}