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

[Solved] AppointmentCommand

4 Answers 183 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Seema
Top achievements
Rank 1
Seema asked on 19 Oct 2007, 09:59 AM
Hi all,

I m creating an appointment template using a dropdownlist, textbox and two imagebutton say Save and Cancel.Plz help me to raise events for these controls (Save and Cancel) to perform the respective task.
I m trying to achieve it by using appointmnetcommand event but not able to get exact code, because not everytime the event is called on click of the buttons.

Thanks,
Seema

4 Answers, 1 is accepted

Sort by
0
Atanas Korchev
Telerik team
answered on 19 Oct 2007, 03:14 PM
Hi Seema,

I believe a similar scenario is covered on our "Templates" example. You can view it online at

http://www.telerik.com/demos/aspnet/prometheus/Scheduler/Examples/Templates/DefaultCS.aspx

I hope that helps,
Albert
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Seema
Top achievements
Rank 1
answered on 22 Oct 2007, 08:07 AM
Thanks Albert,

As I ve already mentioned that I m trying out appointmentCommand event but not getting the event generated everytime, I click the button.
so still I my problem persists....... Is there any other way to get those events ?

Thanks,
Seema.
0
Atanas Korchev
Telerik team
answered on 22 Oct 2007, 03:52 PM
Hi Seema,

Have you tried the way demonstrated in the example? It works fine there - please check if you have correctly set the CommandName properties of your buttons. They should be "Insert" in the Insert template and  "Update" in the edit template.

Regards,
Albert
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Seema
Top achievements
Rank 1
answered on 23 Oct 2007, 10:47 AM
Thanks Albert,

I got it. Actually I was using CommandName as "INSERT" instead of "Insert" and same for update also.

Anyways thanks a lot.

Regards,

Seema
Tags
Scheduler
Asked by
Seema
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
Seema
Top achievements
Rank 1
Share this question
or