Welcome Guest Search | Active Topics | Sign In | Register

Calendar - scheduler Options
Ron Rushing
Posted: Monday, April 25, 2011 3:17:23 PM
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?
eo_support
Posted: Monday, April 25, 2011 3:40:14 PM
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!
Ron Rushing
Posted: Monday, April 25, 2011 4:37:20 PM
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?
eo_support
Posted: Monday, April 25, 2011 4:43:03 PM
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


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.