<asp:Calendar ID="Calendar1"
runat="server"  OnDayRender="Calendar1_OnDayRender"></asp:Calendar>
protected void Calendar1_OnDayRender(object sender, DayRenderEventArgs e)
 {
      //if ( something == somecondition )
       //{
               //To Inactivate the day
               e.Day.IsSelectable = false;
                //To strike out the day
                e.Cell.Font.Strikeout = true;
        //}
 }
On Wed, Nov 11, 2009 at 9:19 AM, sso <[email protected]> wrote:

>
> Hi,
>
> I need to make certain week days on the calendar inactive.  Is there
> any means of doing this server-side?
>
> Thanks!
>

Reply via email to