Hello,
I am having problems with the RadScheduler! I can drag appointments around and they are saved properly to the database, I am using code behind to a sql table adapter for the update. I can drag items from a grid onto the scheduler with no problems. However when I try to edit an appointment I get the following error:
Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occured while processing the request on the server. The status code returned from the server was: 500
Once the edit window comes up I can not update or cancel without getting this error. I thought it was my database parameters so I tried to trap the call to the sql adapter using my own adapter, but it never even hits the adapter. I tried profiling sql but it never calls into the database. I tried the AppointmentCommand, AppointmentUpdate, and AppointmentCanceling triggers, but they don't seem to fire.
Can anyone give me an idea as to where to start looking for the problem?
Here is the code for my scheduler
Thanks,
Tom
I am having problems with the RadScheduler! I can drag appointments around and they are saved properly to the database, I am using code behind to a sql table adapter for the update. I can drag items from a grid onto the scheduler with no problems. However when I try to edit an appointment I get the following error:
Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occured while processing the request on the server. The status code returned from the server was: 500
Once the edit window comes up I can not update or cancel without getting this error. I thought it was my database parameters so I tried to trap the call to the sql adapter using my own adapter, but it never even hits the adapter. I tried profiling sql but it never calls into the database. I tried the AppointmentCommand, AppointmentUpdate, and AppointmentCanceling triggers, but they don't seem to fire.
Can anyone give me an idea as to where to start looking for the problem?
Here is the code for my scheduler
| <telerik:RadScheduler ID="SchedMaint" runat="server" DataEndField="End" |
| DataKeyField="ID" DataSourceID="objSched" DataStartField="Start" |
| DataSubjectField="Subject" SelectedView="WeekView" |
| onappointmentcreated="SchedMaint_AppointmentCreated" |
| CustomAttributeNames="CompletedDate,MaintSchedType" |
| onappointmentcommand="SchedMaint_AppointmentCommand" |
| onappointmentupdate="SchedMaint_AppointmentUpdate" onappointmentcancelingedit="SchedMaint_AppointmentCancelingEdit" |
| > |
| <TimeSlotContextMenuSettings EnableDefault="false" /> |
| <TimeSlotContextMenus> |
| </TimeSlotContextMenus> |
| <AppointmentContextMenuSettings EnableDefault="false" /> |
| <AppointmentContextMenus> |
| <telerik:RadSchedulerContextMenu runat="server" ID="maintSchedApptContextMenu"> |
| <Items> |
| <telerik:RadMenuItem Text="Edit" Value="CommandEdit" /> |
| <telerik:RadMenuItem Text="Print" Value="Print" onclick="alert('bob')" /> |
| </Items> |
| </telerik:RadSchedulerContextMenu> |
| </AppointmentContextMenus> |
| <AdvancedForm Enabled="True" /> |
| </telerik:RadScheduler> |
Thanks,
Tom