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

1 posts, 0 answers
  1. Feyijimi
    Feyijimi avatar
    2 posts
    Member since:
    Jul 2016

    Posted 25 Jul Link to this post

    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

Back to Top