Event Handler for Delete appointment?

2 posts, 0 answers
  1. Nitin Vikraman
    Nitin Vikraman avatar
    9 posts
    Member since:
    Apr 2010

    Posted 17 Jun 2010 Link to this post

    Hi,

             is there any event available for delete appointment.? I want to handle event for appointment delete. If there is no event available then is there any work around for it? I tried the event key down and checking the key code with delete. but even when i code as follows " e.SuppressKeyPress = false;" the selected appointment gets deleted from the UI. Or is there any way to disable the deleting of appointment?

    Regards

    Nitin

  2. Dobry Zranchev
    Admin
    Dobry Zranchev avatar
    348 posts

    Posted 17 Jun 2010 Link to this post

    Hello Nitin Vikraman,

    If you want to listen for deleting some event you should subscribe for the CollecionChanged event of the Appointments collection in the scheduler. In order to forbid appointment deletion you should create the appointment with AllowDelete property set to false.

    Best wishes,
    Dobry Zranchev
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. UI for WinForms is Visual Studio 2017 Ready
Back to Top