Set Appointment border

2 posts, 0 answers
  1. Henry
    Henry avatar
    44 posts
    Member since:
    Feb 2013

    Posted 12 May 2013 Link to this post

    Hi,

    Any sample code snippet to show how to set the appointment border in appointmentdatabound?

    Thanks,
    HG
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 12 May 2013 Link to this post

    Hi Henry,

    Please have a look at the sample code I tried which works fine at my end.

    C#:
    protected void RadScheduler1_AppointmentDataBound(object sender, SchedulerEventArgs e)
    {
        e.Appointment.BorderColor = System.Drawing.Color.Red;
        e.Appointment.BorderStyle = BorderStyle.Dotted;
        e.Appointment.BorderWidth = Unit.Pixel(2);
    }

    Thanks,
    Shinu.
Back to Top