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

InsertAppointment

3 Answers 74 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Stuart Hemming
Top achievements
Rank 2
Stuart Hemming asked on 15 Dec 2010, 04:33 PM
I'm using a model similar to the External Edit In RadDock demo and have a question.

If I call InsertAppointment, should I expect the OnAppointmentInsert event to fire? This is where I've coded the write to the DB. Or should I write to the DB then call InsertAppointment or should I be doing something else entirely?

-- 
Stuart

3 Answers, 1 is accepted

Sort by
0
Stuart Hemming
Top achievements
Rank 2
answered on 15 Dec 2010, 04:42 PM
I should prolly point out that I'm NOT using a DataSourceID. Rather I'm generating a dataset using a WCF service and assigning that to the DataSource property.

-- 
Stuart
0
Accepted
Veronica
Telerik team
answered on 15 Dec 2010, 05:15 PM
Hello Stuart,

OnAppointmentInsert event does not fire after InsertAppointment is called. This method is used to save the appointment in the provider. As you are using databinding other than provider - you should replace the InsertAppointment with  your own method for inserting the appointment.

Hope this helps.

Regards,
Veronica Milcheva
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
0
Stuart Hemming
Top achievements
Rank 2
answered on 15 Dec 2010, 06:49 PM
Veronica.

Thanks.

-- 
Stuart
Tags
Scheduler
Asked by
Stuart Hemming
Top achievements
Rank 2
Answers by
Stuart Hemming
Top achievements
Rank 2
Veronica
Telerik team
Share this question
or