Null get_appointment object

3 posts, 0 answers
  1. david
    david avatar
    210 posts
    Member since:
    May 2007

    Posted 10 Aug 2015 Link to this post


    I'm using this example -

    when the AppointmentEditing event fires the apt object is blank?

    function AppointmentEditing(sender, eventArgs) {
            var apt = eventArgs.get_appointment();
            var oWindow = window.radopen("CalenderAdvancedForm.aspx?Mode=Edit&AppointmentID=" + apt.ID, "AdvancedForm");
            oWindow.SetTitle("Edit Appointment");

    <telerik:RadScheduler ID="RadScheduler1" runat="server" DataDescriptionField="Description" DataEndField="End" DataKeyField="ID" DataRecurrenceField="RecurrenceRule" DataRecurrenceParentKeyField="RecurrenceParentID" DataReminderField="Reminder" DataSourceID="SqlDataSource1" DataStartField="Start" DataSubjectField="Subject" Height="700px" SelectedView="WeekView" Skin="Metro" TimeZoneID="Central Standard Time" Width="990px" WorkDayEndTime="18:00:00" CustomAttributeNames="Type" EnableCustomAttributeEditing="True" TimeZoneOffset="-06:00:00" StartInsertingInAdvancedForm="false"
         OnClientAppointmentInserting="AppointmentInserting" >

  2. david
    david avatar
    210 posts
    Member since:
    May 2007

    Posted 10 Aug 2015 in reply to david Link to this post

    duh brackets might help


  3. DevCraft R3 2016 release webinar banner
  4. Ivan Danchev
    Ivan Danchev avatar
    788 posts

    Posted 12 Aug 2015 Link to this post


    Thank you for pointing out this issue in the documentation article. It will be fixed and the correct get_id() client-side method will be added to the code snippet.

    Ivan Danchev
    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 Feedback Portal and vote to affect the priority of the items
Back to Top