Get appointment by UniqueID property

4 posts, 0 answers
  1. Jaromir
    Jaromir avatar
    1 posts
    Member since:
    Apr 2013

    Posted 24 Sep 2013 Link to this post

    Hi all,
    I implemented RadScheduler component into external app (Dynamics NAV) as .NET add-in. Appointments which are created inside RadScheduler component are correctly transferred to Dynamics NAV (via XML). Then I run some business logic inside Dynamics NAV in order to save these appointments into Dynamics NAV database. Everything works correctly if there are no warning or errors in Dynamics NAV. But sometimes the business logic in Dynamics NAV produces an error -> appointment in Dynamics NAV is not created and in that case I need to delete this appointment in RadScheduler component as well. And in that case it would be nice, e.g. I will be able to get appointment by UniqueID property or something like that in order to remove this appointment from RadScheduler component as well. Can you help me how can I do that? Thanks in advance.
  2. George
    George avatar
    500 posts

    Posted 27 Sep 2013 Link to this post

    Hi Jaromir,

    Thank you for contacting us.

    We have an article in our help section which explains how to add a custom field to the EditAppointment dialog. This example also explains how to create a custom appointment, which should work out well in your case. The above mentioned article can be found on this address -

    I hope this information will be of help. If you have any other questions, do not hesitate to ask.

    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
  3. Karthik
    Karthik avatar
    10 posts
    Member since:
    Apr 2016

    Posted 13 May 2016 Link to this post


    I use Telerik Demo Sheduler as my base. I have modified data like this:


    DataTable dtActions = SqlHelper.GetTable("base_Action_Search");//,

    new string[] { "@CompanyName", client, "@TaskTypeID", db_TaskTypeID.SelectedValue.ToString() });//, "@Users", Users });

    foreach (DataRow dr in dtActions.Rows)


    SessionAppointment appointments = new SessionAppointment();

    appointments.UniqueId = dr["ActionID"].ToString();

    appointments.Subject = dr["ActionName"].ToString();


    Now i want to implement deleting. But i cant access UniqueID property? How I can do that..? 


    i use Telerik Demo Sheduler as my base

  4. Hristo
    Hristo avatar
    1519 posts

    Posted 17 May 2016 Link to this post

    Hi Karthik,

    Thank you for writing.

    The UniqueId property is public and you would be able to directly access it and retrieve its value. If I understand correctly you would like to delete appointments based on that value. Please check my code snippet below: 
    foreach (Appointment appointment in this.radScheduler1.Appointments)
        EventId id = appointment.UniqueId;
        // Perform validation.
        if (!string.IsNullOrEmpty(appointment.UniqueId.KeyValue.ToString()))

    In case you keep experiencing issues please open up a support ticket and send us a sample project.

    I hope this helps. Should you have further questions please do not hesitate to write back.

    Hristo Merdjanov
    Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
Back to Top