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

[Solved] javascript code for deleting a appointmet

1 Answer 92 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Adi
Top achievements
Rank 1
Adi asked on 15 May 2009, 07:49 AM
can u please send me the javascript code for deleting the appointment
i am not able to delete an aapointmnet by the code behind o f the telerik in C#.net

so will i am able to delete it through javascript ..
please if anyone has some idea about this can u send me it is very urgent

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 15 May 2009, 08:51 AM
Hi Adi,

I am not clear about the scenario that you are trying. You can use the deleteAppointment() method for deleting the appointment from client side (as shown in example). Can you provide some more information about your scenario, if this does not helps?

JavaScript:
 
<script type="text/javascript"
function onClientAppointmentClick(sender, eventArgs) 
    var appointment = eventArgs.get_appointment(); 
    sender.deleteAppointment(appointment); 
</script> 

Thanks,
Shinu.
Tags
Scheduler
Asked by
Adi
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or