Calendar

  • Thread starter Thread starter Eduard Faschang
  • Start date Start date
E

Eduard Faschang

Hallo

I want mark a day in a calendar control with differnt color.
I would be nice if anywho has a example

Thank you

Edi
 
In the calendar's DayRender event add something like this:

Private Sub cal_DayRender(ByVal sender As System.Object, ByVal e As
System.Web.UI.WebControls.DayRenderEventArgs) Handles cal.DayRender
If someCondition Then e.Cell.BackColor = someColor
End Sub

HTH
 
Back
Top