I have the ff code:
// note: entries is a list binded to a query from the database
// wherein i'm passing some parameters to satisfy
// the conditions from the query
foreach (var entry in entries)
{
Appointment appointment = new Appointment();
appointment.Start = entry.StartDateTime;
appointment.End = entry.EndDateTime;
appointment.Summary = entry.Summary;
this.radScheduler.Appointments.Add(appointment);
}
Is there a way to bind the entries directly to radScheduler
without using foreach
statement?
I've also tried using radScheduler.datasource
but it doesn't work.
Please check below code :
.aspx
.aspx.cs
.cs
http://www.telerik.com/help/aspnet-ajax/scheduler-database-structure.html
It worked from my side.