Hi,
I search to redirect on a new form when i double click an appointment.
In javascript i have :
and in the radscheduler body :
Unfortunatly it seem i can't get correct informations with the get_appointment method.
In the redirect page, i have in the url idEvent=undefined and not the id's appointment.
Any idea?
Thanks a lot!
I search to redirect on a new form when i double click an appointment.
In javascript i have :
| function OnClientAppointmentEditing(sender, eventArgs) { |
| var apt = eventArgs.get_appointment(); |
| window.location = "Rappel.aspx?idEvent=" + apt.ID; |
| eventArgs.set_cancel(true); |
| } |
and in the radscheduler body :
| <telerik:RadScheduler runat="server" ID="RadScheduler1" |
| Width="750px" |
| Height="650px" |
| Skin="Web20" |
| Culture="fr-FR" |
| DataKeyField="id" |
| DataStartField="eventstart" |
| DataEndField="eventend" |
| DataSubjectField="name" |
| DataDescriptionField="motifs" |
| DataSourceID="SqlDataSource1" |
| CustomAttributeNames="idTypeEvent" |
| FirstDayOfWeek="Monday" |
| LastDayOfWeek="Sunday" |
| DayStartTime="08:00:00" |
| DayEndTime="19:00:00" |
| HoursPanelTimeFormat="HH:mm" |
| WeekView-ColumnHeaderDateFormat="ddd d" |
| MultiDayView-ColumnHeaderDateFormat="ddd d" |
| MonthView-HeaderDateFormat="MMM yyyy" |
| MultiDayView-DayEndTime="19:00:00" |
| MultiDayView-WorkDayEndTime="19:00:00" |
| WeekView-DayEndTime="19:00:00" |
| WeekView-WorkDayEndTime="19:00:00" |
| WorkDayEndTime="19:00:00" |
| ShowViewTabs="true" |
| TimelineView-UserSelectable="False" |
| EnableDescriptionField="True" |
| EnableResourceEditing="True" |
| EnableCustomAttributeEditing="True" |
| AdvancedForm-EnableResourceEditing="True" |
| AdvancedForm-EnableCustomAttributeEditing="True" |
| OnAppointmentInsert="RadScheduler1_AppointmentInsert" |
| OnAppointmentDelete="RadScheduler1_AppointmentDelete" |
| StartEditingInAdvancedForm="False" |
| MinimumInlineFormHeight="80" |
| OnClientAppointmentEditing="OnClientAppointmentEditing" |
| > |
Unfortunatly it seem i can't get correct informations with the get_appointment method.
In the redirect page, i have in the url idEvent=undefined and not the id's appointment.
Any idea?
Thanks a lot!