Last Updated: 01 Nov 2013 13:06 by ADMIN
Created by: Carlos
Comments: 1
Category: Ajax
Type: Feature Request
Running for the firts time, the calendar displays correctly the things i want to; but if I navigate to another monts in the calendar, the event is is not fired, so the render of the things I want seems not to work.

This si the code:

Protected Sub RadCalendar1_DayRender(ByVal sender As Object, _
ByVal e As Telerik.Web.UI.Calendar.DayRenderEventArgs) _
Handles RadCalendar1.DayRender
    Dim CurrentDate As DateTime = e.Day.[Date]
    If CurrentDate.Month <> RadCalendar1.FocusedDate.Month Then
        e.Cell.Text = "(" + CurrentDate.Day + ")"
    ElseIf e.Day.IsToday Then
        e.Cell.Style("background-color") = "Red"
    End If
End Sub

1 2