Appointment Delete and Update issue

2 posts, 0 answers
  1. Marc
    Marc avatar
    1 posts
    Member since:
    Nov 2011

    Posted 21 Nov 2011 Link to this post

    Hi,

    I have implemented a RadScheduler that uses a custom control and can successfully add appointments, but I'm having issues editing and deleting appointments. I'd like to call the event server side and not client-side, However the AppointmentDelete and AppointmentUpdate event handlers wont fire, any idea as to what might be the cause?

    <telerik:RadScheduler ID="RadScheduler1" runat="server" Height="427px" StartInsertingInAdvancedForm="true"
        Skin="Hay" Width="492px" Visible="True" ViewStateMode="Enabled"
        AppointmentStyleMode="Simple">
        <TimelineView UserSelectable="False" />
        <DayView UserSelectable="True" />
        <MonthView UserSelectable="False" />

        <AdvancedEditTemplate>
            <scheduler:AdvancedForm runat="server" ID="AdvancedEditForm1" Mode="Edit"  
                Start='<%# Bind("Start") %>'
                End='<%# Bind("End") %>' />
        </AdvancedEditTemplate>
        <AdvancedInsertTemplate>
            <scheduler:AdvancedForm runat="server" ID="AdvancedInsertForm1" Mode="Insert"
                Start='<%# Bind("Start") %>'
                End='<%# Bind("End") %>' />
        </AdvancedInsertTemplate>
    </telerik:RadScheduler>


  2. Plamen
    Admin
    Plamen avatar
    3049 posts

    Posted 22 Nov 2011 Link to this post

    Hello Marc, 

    When you add the custom templates you have to keep all the IDs and the Classes of the elements in the form because they are needed by the code of the Scheduler.

    Please keep to the code in the Customizing the Advanced form demo. You can also refer to this Code library.

    Best wishes,
    Plamen Zdravkov
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
Back to Top