Calendar

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
 
S

Scott M.

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,430
Messages
2,571,676
Members
48,796
Latest member
Greg L.

Latest Threads

Top