Hi,
Please can you tell my how I can access the appointment clicked date in a RadScheduler. It is not the Selected date, as this seems to be the same no matter what date I click. You would have thought that this was simple, but apparently not.
Hi,
Please can you tell my how I can access the appointment clicked date in a RadScheduler. It is not the Selected date, as this seems to be the same no matter what date I click. You would have thought that this was simple, but apparently not.
1 Answer, 1 is accepted
0
Ivan Danchev
Telerik team
answered on 10 Oct 2016, 10:24 AM
Hello Dương,
I am not sure what you mean by "clicked date", but you can get the clicked appointment's start and end dates by calling the respective SchedulerAppointment object client-side methods: get_start() or get_end(). For example in the OnClientAppointmentClick event handler you can do it as shown below:
function OnClientAppointmentClick(sender, eventArgs)
{
var apt = eventArgs.get_appointment();
alert(apt.get_start());
}
Regards,
Ivan Danchev
Telerik by Progress
Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.