This is a migrated thread and some comments may be shown as answers.

Set Appointment border

1 Answer 39 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Henry
Top achievements
Rank 1
Henry asked on 13 May 2013, 02:16 AM
Hi,

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

Thanks,
HG

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 13 May 2013, 04:25 AM
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.
Tags
Scheduler
Asked by
Henry
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or