How do I go about customizing the colors of the multi resource activities?
Activities and the resources (buttons) to which these activities belong are colored automatically using the Microsoft Outlook color scheme. You can still override this and assign an unique style to each Resource - its activities will also use the same style. You can do this by using the Style property for the resource.
For example in Page_Load, i can do the following:
WebScheduleInfo2.VisibleResources.GetResourceFromName("John").Style.BackColor = System.Drawing.Color.Blue;
Hope it helps. Thanks,
Angel
Angel,
The problem is I am using a WebGenericDataProvider for the data and after I load the data, for some reason the WebScheduleInfo control says there is no data within it, but the activities still show in the calendar. So what do I do?
Hi,
This doesn't seem to be related to styling. Could you show me your code , preferrably a sample Website, i will take a look.
Thanks,
Ok wait it IS working like you said, the reason i am doing this is because when my activities load up they are all teh same color and they ARE from different resources. Am I missing a CSS file? (webschedule.css for instance I cannot find)
This is inside my Page_Load event:
.CreateCalendarofEvents();
];
The wsgCalendarProviders WebScheduleInfoID is wsiIPAMCalendarEvents, after the last code line in Page_Load above I tried to get visible resource from WebScheduleInfo but it said there were none