In Calendar DayRender Event
VB.NET
If e.Day.IsToday Then
e.Cell.ForeColor = Color.Blue
e.Cell.BackColor = Color.Pink
End If
C#
if (e.Day.IsToday)
{
e.Cell.ForeColor = Color.Blue;
e.Cell.BackColor = Color.Pink;
}
In Calendar DayRender Event
VB.NET
If e.Day.IsToday Then
e.Cell.ForeColor = Color.Blue
e.Cell.BackColor = Color.Pink
End If
C#
if (e.Day.IsToday)
{
e.Cell.ForeColor = Color.Blue;
e.Cell.BackColor = Color.Pink;
}
Fax: +1 919.573.0306
US: +1 919.481.1974
UK: +44 20 7084 6215
Toll Free (USA):
1-888-9DOTNET
Share with