Border of skin-independent css style not working

2 posts, 1 answers
  1. Paulo
    Paulo avatar
    31 posts
    Member since:
    Oct 2010

    Posted 13 Jan 2012 Link to this post


    I have implemented the client-side event OnClientAppointmentDataBound to set property cssClass of RadScheduler appointments:

    function AppointmentDataBound(sender, args)
        var app = args.get_appointment();
        if (app.get_attributes().getAttribute("RegisteredMembers") != "")

    If the custom attribute "RegisteredMembers" is not empty, property cssClass is set accordingly.
    The problem is that, differently from the RadScheduler screen shot displayed on page, the border of the appointments are not set to yellow; only the background of the appointments are (see attachment).

    What am I missing?

    Thank you.
  2. Answer
    Peter avatar
    6637 posts

    Posted 17 Jan 2012 Link to this post

    Hello Paulo,

    To set the border color, please use the following code:


    Also, make sure you set AppointmentStyleMode="Default" for RadScheduler.

    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
Back to Top