Hi
On double-click a user can addnew or edit existing appointment item.
what i want to do is when user single clicks on exiting appointment item, i want to display description is a textbox
which is located outside scheduler control on a page.
Regards
1 Answer, 1 is accepted
0
Accepted
Ivana
Telerik team
answered on 29 Aug 2011, 05:17 PM
Hi Lee,
Try using the client-side event OnClientAppointmentClick.
Here is an example of how you could do it:
function OnClientAppointmentClick(sender, args) {
var appt = args.get_appointment();
var apptDescription = appt.get_description();
var textBox = $telerik.$("[id$='TextBox1']");
textBox[0].value = apptDescription;
}
Hope this helps.
Kind regards,
Ivana
the Telerik team
Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward!
We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>