Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
585
Working with the database sample
posted

Hello NG,

 i use the code from the database Sample within my project. I use the Event before the Appointment Dialog is shown to display my own Appointment Dialog. Is there any chance to get the ID of the record in the database when the user doubleclicks one of the entries in the calendar control?

 By now I've tried to receive the ID over the subject + StartDatetime + Enddatetime, this solution is not the best cause when the user drags the appointment to another location or chances the Appointment time by resizing the element I'm not able to find the entry in the database anymore cause the update in the database occurs when the app is closed.

 Any help is appreciated.

Thanks in advance!

Stefan

  • 69832
    Offline posted

    The Appointment class exposes a BindingListIndex property, which returns the ordinal position of the corresponding list object.