Currently Selected Appointment ???

4 posts, 0 answers
  1. Art
    Art avatar
    54 posts
    Member since:
    Dec 2010

    Posted 07 Mar 2011 Link to this post

    I'm in the RadScheduker.SelectionChanged event, how do I find information about the currently selected appointment?  Or, I'm in the AppointmentDeleting event, same question??

    I have a custon appointment with an Appointment ID. Can I get to it?

    Thanks
  2. Stefan
    Admin
    Stefan avatar
    2890 posts

    Posted 10 Mar 2011 Link to this post

    Hello Art,

    Thank you for writing.

    In both AppointmentDeleting and AppointmentSelecting events you can access the currently deleted/selected appointment from the event arguments:
    e.Appointment

    I hope this helps.

    Best wishes,
    Stefan
    the Telerik team
    Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Art
    Art avatar
    54 posts
    Member since:
    Dec 2010

    Posted 10 Mar 2011 Link to this post

    Not really. I have created the simplist of forms, with a radScheduler. I also created a Custom Appointment class (and a customfactory and editdialogform) which has a few extra properties, such as Appt_ID (because I can't get over that guid thing you do with the UniqueID). I fill a datatable, then loop through it, adding each appointment as a CustomApointment into the radScheduler (no recurring appointments). How do I get that Appt_ID value from either the AppointmentDeleting or AppointmentSelecting event? I have got adding appointments running fine, but I can't get the deleting until I figure out how to get the ID number.

    Thanks
  5. Stefan
    Admin
    Stefan avatar
    2890 posts

    Posted 15 Mar 2011 Link to this post

    Hello Art,

    Thank you for writing back.

    In this case I can not determine why you can not get the desired appointments. To do that I have to investigate your project. This is why I would like to kindly ask you to provide me with your project together with a sample data so I can see it fully working on my end. This will allow me to see what exactly is your scenario and how you can get the desired appointment.

    Thank you for your cooperation. I am looking forward to your response.

    Regards,
    Stefan
    the Telerik team
    Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
Back to Top