This is a migrated thread and some comments may be shown as answers.

Appointment Delete and Update issue

1 Answer 122 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Marc
Top achievements
Rank 1
Marc asked on 21 Nov 2011, 02:24 PM
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>


1 Answer, 1 is accepted

Sort by
0
Plamen
Telerik team
answered on 22 Nov 2011, 07:09 PM
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
Tags
Scheduler
Asked by
Marc
Top achievements
Rank 1
Answers by
Plamen
Telerik team
Share this question
or