Hi,may i know how to highlight the specified dates of the month i want?? Let's say for March, according the user specified dates in my database, how am i able to highlight the dates on the calendar in red? Thanks
Printable View
Hi,may i know how to highlight the specified dates of the month i want?? Let's say for March, according the user specified dates in my database, how am i able to highlight the dates on the calendar in red? Thanks
This would make 4/9/2003 have a Red background.
VB Code:
Private Sub cMain_DayRender(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.DayRenderEventArgs) Handles cMain.DayRender If e.Day.Date.ToShortDateString = "4/9/2003" then e.Cell.BorderColor = System.Drawing.Color.Red End If