This is a migrated thread and some comments may be shown as answers.

Opening RadWindow On Appointment Click

3 Answers 81 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
TommyFlint
Top achievements
Rank 1
TommyFlint asked on 26 Aug 2010, 08:17 AM
Hey Guys,

What I'm trying to do is when a user clicks a appointment it will show the details in a RadWindow so what i need to is when a user clicks an appointment pass the appointment ID to the RadWindows so i can populate the data.

Any guidance would be greatly appreciated.

I code in VB.Net

Cheers,

Tom

3 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 26 Aug 2010, 09:28 AM
Hello,


Attach the "OnClientAppointmentClick" and open the window using any of the method described in the following documentation.
Opening Windows



-Shinu.
0
TommyFlint
Top achievements
Rank 1
answered on 26 Aug 2010, 10:25 AM
Thank you for the swift reply shinu but how would i get the appointment ID of the clicked appointment?

EDIT:

from the link you sent i also found this:

<script type="text/javascript">  
  function OnClientAppointmentDoubleClick(sender, eventArgs)
  {
    var apt = eventArgs.get_appointment();
    alert("You double-clicked on an appointment with the subject: " + apt.get_subject());
  }
</script>

would i just replace get_subject() with get_id()

not at home at the moment so i can't test it

Thanks Tom
0
Veronica
Telerik team
answered on 27 Aug 2010, 01:22 PM
Hi Tom,

Yes, you can get the id of the appointment via appointment.get_id().

You can take a look at this help article about most public properties of the Appointment client-side object:

SchedulerAppointment

Best wishes,
Veronica Milcheva
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Scheduler
Asked by
TommyFlint
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
TommyFlint
Top achievements
Rank 1
Veronica
Telerik team
Share this question
or