eventcalendar As CompositeDataBoundControl and DayRender

Last post 05-05-2008 1:16 PM by dfourlife. 0 replies.

Sort Posts:

  • eventcalendar As CompositeDataBoundControl and DayRender

    05-05-2008, 1:16 PM
    • Loading...
    • dfourlife
    • Joined on 11-15-2007, 2:08 PM
    • Posts 75

    Hi all,

    I have and issue

    The eventcalendar is a  CompositeDataBoundControl,

    it does not have a Ondayrender Event what event do I use to replace the Dayrender event arg

     I want to utilze the following routine any suggestions

     Protected Sub Calendar1_DayRender(ByVal sender As Object, ByVal e As DayRenderEventArgs) 
           If (e.Day.[Date] = DateTime.Now.[Date]) OrElse (e.Day.[Date] = DateTime.Now.[Date].AddDays(1)) Then
            e.Cell.BackColor = Color.Yellow
        End If

    End Sub

Page 1 of 1 (1 items)