View Single Post
  #5 (permalink)  
Old July 28th, 2006, 12:43 PM
frosty frosty is offline
Authorized User
 
Join Date: May 2006
Location: , , .
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Sorry Imar, I was throwing a temper tantrum after working on such a simple thing for the last 12 hours. I think I need to get some more books. But in any case, the problem is that the event is not getting called. Anything I put in that function doesn't happen.

the calendar is just

<asp:Calendar ID=Calendar1" runat="server"></asp:Calendar>

 within step one of the wizard. and the text for the function is

   protected void Calendar1_DayRender(object sender, DayRenderEventArgs e)
    {

        if (e.Day.Date < DateTime.Today)
        {
            e.Day.IsSelectable = false;
            e.Cell.BackColor = System.Drawing.Color.Black;
        }
    }

Reply With Quote