I am using a Rad scheduler and I'm binding a generic list to the Rad Scheduler. Everything works fine. But I want to set the visibility property of each appointment from the visibility property of the corresponding item in the list. How can I achieve this?
Regards,
Navaneeth
2 Answers, 1 is accepted
0
Accepted
Plamen
Telerik team
answered on 19 Mar 2013, 01:02 PM
Hello,
We commend setting the visibility in the AppointmentDataBound event. Here is a sample code that worked properly for resources with Key equal to 1 that I added to our on-line demo and worked properly:
if (e.Appointment.Resources.GetResourceByType("User").Key.ToString()=="1")
{
e.Appointment.Visible = false;
}
}
Hope this will be helpful.
Greetings,
Plamen
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.