InsertAppointment

4 posts, 1 answers
  1. Stuart Hemming
    Stuart Hemming avatar
    1622 posts
    Member since:
    Jul 2004

    Posted 15 Dec 2010 Link to this post

    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
  2. Stuart Hemming
    Stuart Hemming avatar
    1622 posts
    Member since:
    Jul 2004

    Posted 15 Dec 2010 Link to this post

    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
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Answer
    Veronica
    Admin
    Veronica avatar
    1213 posts

    Posted 15 Dec 2010 Link to this post

    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.
  5. Stuart Hemming
    Stuart Hemming avatar
    1622 posts
    Member since:
    Jul 2004

    Posted 15 Dec 2010 Link to this post

    Veronica.

    Thanks.

    -- 
    Stuart
Back to Top