This is a migrated thread and some comments may be shown as answers.

Event template for automatically apply background color of event based on category in Scheduler

0 Answers 60 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Feyijimi
Top achievements
Rank 1
Feyijimi asked on 25 Jul 2016, 07:48 PM

Hello, I would like to automatically assign colors to event's in my scheduler based on the category of the events. I have a limited number of category of events that are pre identified and exist in my database, I want to assign each category a specific color, and automatically assign the background colors to each event when the user loads up the page and navigates through the schedule. I followed this (http://demos.telerik.com/aspnet-mvc/scheduler/templates) demo however this method isn't working for me because I have a read action that creates my model dynamically and filters on the server side, before rendering the view. I'm working with .NET MVC and views are in razor syntax. Any help or resources would be greatly appreciated.

Thanks

No answers yet. Maybe you can help?

Tags
General Discussions
Asked by
Feyijimi
Top achievements
Rank 1
Share this question
or