How to Apply my own Css Class for Appointment Div to show in different color based on my requirement

3 posts, 0 answers
  1. Vishnu Vardhan Reddy
    Vishnu Vardhan Reddy avatar
    20 posts
    Member since:
    Oct 2011

    Posted 08 Jan 2012 Link to this post

    Hello,
    Unable to apply my own css class to Appointments.
    i created one Css class like 
    .TaskView
    {
    Background-image:"~/Tak.png",
    BackColor:#cfcfcf
    }
    and i tried to apply like bellow

    if(e.Appointment.Type="Task")
    {
    e.Appointment.CssClass="TaskView";
    }
    Rad Scheduler default Css Class ovveriting my custom css.How i can create my custom Css for Appoinment.Please update me asap

    Thanks And Regards
    N.Vishnu Vardhan Reddy
  2. Peter
    Admin
    Peter avatar
    6637 posts

    Posted 09 Jan 2012 Link to this post

    Hi Vishnu,

    The best way to style the appointments is to set their BackColor property in AppointmentDataBound as shown in this help topic.


    Kind regards, Peter
    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
  3. Vishnu Vardhan Reddy
    Vishnu Vardhan Reddy avatar
    20 posts
    Member since:
    Oct 2011

    Posted 10 Jan 2012 Link to this post

    Thx a lot

    Thanks And Regards

    N.Vishnu Vardhan Reddy
Back to Top