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

open appointment edit form from context menu using javascript

1 Answer 21 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Prava kafle
Top achievements
Rank 1
Prava kafle asked on 19 Sep 2013, 06:23 PM
Hi,

I would like to open appointment edit form   using javascript
on  'OnClientAppointmentContextMenuClick' event. I would like to mimic following sample:
http://demos.telerik.com/aspnet-ajax/scheduler/examples/clientsideevents/defaultcs.aspx#

How can I open edit form from client side on a web service bound scheduler?

Thanks,
Prava

1 Answer, 1 is accepted

Sort by
0
Plamen
Telerik team
answered on 24 Sep 2013, 05:29 PM
Hi Prava,

 
You can open the advanced form of the appointment from javascript as for example it is done in the code below:

function OnClientUpdateClicked(sender, args) {
              var scheduler = $find("<%=RadScheduler1.ClientID%>");
              scheduler.showAdvancedEditForm(scheduler.get_appointments().findByID(58));
          }

Hope this will be helpful.

Regards,
Plamen
Telerik
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 the blog feed now.
Tags
Scheduler
Asked by
Prava kafle
Top achievements
Rank 1
Answers by
Plamen
Telerik team
Share this question
or