Print Page | Close Window

how to sort multiple resources

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=9957
Printed Date: 28 May 2024 at 7:31pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: how to sort multiple resources
Posted By: younicke
Subject: how to sort multiple resources
Date Posted: 25 March 2008 at 11:15am
hi all!

i have multiple resources in my calendar. how do i display the resources in alphabetical order? the calendar gets the resources from the schedules table but the data from the schedule table is being fetched i believe using the scheduleid. how do i sort the resources from the schedule table?

thanks,

younicke



Replies:
Posted By: mc2x
Date Posted: 26 March 2008 at 3:43am
Hello!

I am evaluating CalendarPro.

I am using SQL DataProvider, could anyone give a sample of simple calendar control with SQL DataProvider?

Thanks.

Newbie here. :)


Posted By: Stilki
Date Posted: 03 April 2008 at 1:02am
Alphabetical!
 
Before you add the schedule id''s and name, you can sort the list internally through code.
 
You then manually add the schedules (id and name) to the CalendarResource object.
Then add the CalendarResource object to the CalendarResources object. Then assign the CalendarResources object to -
 
CalendarControl.SetMultipleResources CalendarResources
 
 
 


Posted By: younicke
Date Posted: 03 April 2008 at 5:09am
already figured it out since its been a week already since i last posted that question.

thanks anyway!



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