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

Delete appointment from clientside

1 Answer 99 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Hrushikesh Mokashi
Top achievements
Rank 1
Hrushikesh Mokashi asked on 18 Oct 2008, 10:59 AM
Hi all

I am using RadScheduler

I want to delete appointment of radscheduler from clientside.
I don't want to execute serverside event.

How can be it achieved?


Thanks

1 Answer, 1 is accepted

Sort by
0
T. Tsonev
Telerik team
answered on 20 Oct 2008, 02:52 PM
Hi Hrushikesh,

You can delete an appointment using the client-side API. For example:

function onClientAppointmentClick(sender, eventArgs) 
var appointment = eventArgs.get_appointment(); 
 
sender.deleteAppointment(appointment); 

Note that this will trigger a postback to the page and is the equivalent to pressing the "delete" icon on the appointment.

For more information, please refer to this help article:
http://www.telerik.com/help/aspnet-ajax/client-side-objects-radscheduler.html

Greetings,
Tsvetomir Tsonev
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
General Discussions
Asked by
Hrushikesh Mokashi
Top achievements
Rank 1
Answers by
T. Tsonev
Telerik team
Share this question
or