Print Page | Close Window

How to display additional categories

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Calendar
Forum Description: Topics Related to Codejock Calendar
URL: http://forum.codejock.com/forum_posts.asp?TID=14761
Printed Date: 06 October 2024 at 9:25pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: How to display additional categories
Posted By: StefanNbg
Subject: How to display additional categories
Date Posted: 16 July 2009 at 5:42pm
Hi
I'm new here and have the following problem:


How can I display additional categories in calender like in OL 2007 ?

thx for help
Stefan





Replies:
Posted By: SuperMario
Date Posted: 19 July 2009 at 10:14am
CalendarEventLabels listLabels = wndCalendarControl.DataProvider.LabelList();
// Use to remove all built in labels
// listLabels.RemoveAll();
listLabels.AddLabel(0, 0, "None category");
listLabels.AddLabel(1, 0xff0000, "Blue category");
listLabels.AddLabel(2, 0x00ff00, "Green category");
listLabels.AddLabel(3, 0x0000ff, "Red category");
wndCalendarControl.Populate();  



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net