|
Rank: Member Groups: Member
Joined: 10/28/2008 Posts: 23
|
How do you set the cell in a calendar to display a value ... e.g. Christmas? As seen in the Calender/scheduler demo?
Do you have any vb.net code examples?
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
You can take a look of the sample source code. The full sample source code in both VB and C# are already installed in the sample folder when you install our product. The key is to handle the Calendar's DayRender event. Inside that event you can render whatever you'd like into the day cell.
Thanks!
|
|
Rank: Member Groups: Member
Joined: 10/28/2008 Posts: 23
|
Ok, I see that I can write into every cell with e.Writer.Write("Ron") ... how do I pick a specific date like April 30, 2011?
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
You don't pick any date. DayRender is called for every day in the current month. You would check the event argument to determine which day you are rendering and then render whatever you want to render for that day accordingly.
Thanks
|
|