Get rid of colors on the Agenda view

4 posts, 1 answers
  1. Tate
    Tate avatar
    5 posts
    Member since:
    Jun 2015

    Posted 10 Jul 2015 Link to this post

    I'm trying to display the Agenda view on the Scheduler without the colors. 

     

    I have tried using a custom event template like so (edited for brevity):

     

    Html.Kendo().Scheduler<Project.Models.ViewModel>()
                .Name("Scheduler")
                .EventTemplate(
                    "<div class='agenda-template'>" +
                        "<p>#= title #</p>" +
                    "</div>"
                )

     

     

    However, this does not get rid of the colors on the Agenda view. Suggestions?

  2. Answer
    Kiril Nikolov
    Admin
    Kiril Nikolov avatar
    2566 posts

    Posted 14 Jul 2015 Link to this post

    Hello Tate,

    You can hide them with a simple CSS rule. Please check the following example and let me know if it helps:

    http://dojo.telerik.com/OLisA

    Regards,
    Kiril Nikolov
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  3. UI for ASP.NET MVC is VS 2017 Ready
  4. Tate
    Tate avatar
    5 posts
    Member since:
    Jun 2015

    Posted 14 Jul 2015 in reply to Kiril Nikolov Link to this post

    Perfect! Thank you!
  5. Kiril Nikolov
    Admin
    Kiril Nikolov avatar
    2566 posts

    Posted 14 Jul 2015 Link to this post

    Hello Tate,

     

    I am happy to hear that the proposed solution worked for you.

     

    In case something else comes up to do not hesitate to contact us.

     

    Regards,
    Kiril Nikolov
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top
UI for ASP.NET MVC is VS 2017 Ready