I have no problem populating data into my RadScheduler control. However, I do have a problem with the way it keeps repeating everytime I refresh the page. Here is my code when adding to the RadScheduler. Why is it everytime I refresh the page or go to another view, it adds another record of the appointment or event? Thank you!
for
(
int
i = 0; i < evearray.Length; i++)
{
Appointment apt =
new
Appointment(evearray[i].EventId, evearray[i].EventStartDateTime, evearray[i].EventEndDateTime, evearray[i].EventName);
date[i] =
new
Telerik.Web.UI.RadDate(evearray[i].EventStartDateTime);
RadScheduler1.InsertAppointment(apt);
}