Hi All,
Can someone give me a more detailed description of how InLine Editing works; i.e. what is the event sequence and what should be raised when?
We have a problem where we are no longer able to do inline editing or drag-copy/resize in our ScheduleView control. Actually over the course of two months, inline editing in our solution has degraded from working always to saving only the first character to not working at all.
First let me say that the RadScheduleView's Inline Editing works flawlessly in a sample project, so I realise that the problem is somewhere in our solution; however I need help in troubleshooting to find the source of the problem.
I am using v 2011.2.1107.1040 of the Telerik.Windows.Controls.ScheduleView.dll assembly, and I have not specified any InlineEditingTemplate. Currently I open the ScheduleView and attempt to enter an appointment by typing "asdf"; After putting breakpoints in the relevant event handlers, I see the following events are raised, one after another:
AppointmentCreating; appt has null Subject field
AppointmentSaving' appt has Subject=="a" -- not "asdf"
AppointmentCreated
AppointmentDeleting
AppointmentDeleted
The inline editing takes one character and creates a Appointment with that character, then immediately deletes the newly-created Appointment. Without adding breakpoints, it looks as if inline editing does not work because the appointment is created and deleted before it can appear in the ScheduleView. If I set AppointmentDeletingEventArgs.Cancel = true, typing "abc" results in three new appointments being created.
Please help me understand how this process is supposed to work so that I can determine what in our solution is causing this behaviour. What actions will cause the ScheduleView to delete an appointment? I assume that the default inline editing template uses a TextBox. What causes the TextBox to end the editing and create a new appointment? (Or in our case end editing after one character has been entered.)
Is there any more in-depth documentation on the RadScheduleView features and events? How does validation affect the inline editing states?
Any insights will be greatly appreciated--
Cheers,
Scott
Can someone give me a more detailed description of how InLine Editing works; i.e. what is the event sequence and what should be raised when?
We have a problem where we are no longer able to do inline editing or drag-copy/resize in our ScheduleView control. Actually over the course of two months, inline editing in our solution has degraded from working always to saving only the first character to not working at all.
First let me say that the RadScheduleView's Inline Editing works flawlessly in a sample project, so I realise that the problem is somewhere in our solution; however I need help in troubleshooting to find the source of the problem.
I am using v 2011.2.1107.1040 of the Telerik.Windows.Controls.ScheduleView.dll assembly, and I have not specified any InlineEditingTemplate. Currently I open the ScheduleView and attempt to enter an appointment by typing "asdf"; After putting breakpoints in the relevant event handlers, I see the following events are raised, one after another:
AppointmentCreating; appt has null Subject field
AppointmentSaving' appt has Subject=="a" -- not "asdf"
AppointmentCreated
AppointmentDeleting
AppointmentDeleted
The inline editing takes one character and creates a Appointment with that character, then immediately deletes the newly-created Appointment. Without adding breakpoints, it looks as if inline editing does not work because the appointment is created and deleted before it can appear in the ScheduleView. If I set AppointmentDeletingEventArgs.Cancel = true, typing "abc" results in three new appointments being created.
Please help me understand how this process is supposed to work so that I can determine what in our solution is causing this behaviour. What actions will cause the ScheduleView to delete an appointment? I assume that the default inline editing template uses a TextBox. What causes the TextBox to end the editing and create a new appointment? (Or in our case end editing after one character has been entered.)
Is there any more in-depth documentation on the RadScheduleView features and events? How does validation affect the inline editing states?
Any insights will be greatly appreciated--
Cheers,
Scott