I'm using Ajax Q1 2010 net 3.5 controls and have a RadScheduler with an AdvancedEditTemplate. Code is below. The problem is that when I right-click on an appointment and click edit, the edit form does nopt display and the day view reverts back to today's date. There is no error or any indication what the problem is. Help?
<
telerik:RadScheduler
runat
=
"server"
ID
=
"RadScheduler1"
Skin
=
"Simple"
DataKeyField
=
"ID"
DataSubjectField
=
"subject"
DataStartField
=
"start"
DataEndField
=
"end"
Height
=
"650px"
Width
=
"375px"
SelectedView
=
"DayView"
ShowFooter
=
"true"
RowHeight
=
"20px"
ShowViewTabs
=
"false"
DayStartTime
=
"08:00:00"
DayEndTime
=
"17:00:00"
FirstDayOfWeek
=
"Monday"
LastDayOfWeek
=
"Sunday"
EnableDescriptionField
=
"true"
AppointmentStyleMode
=
"Default"
EnableResourceEditing
=
"true"
OnAppointmentDelete
=
"RadScheduler1_AppointmentDelete"
OnAppointmentUpdate
=
"RadScheduler1_AppointmentUpdate"
OnAppointmentInsert
=
"RadScheduler1_AppointmentInsert"
>
<
AdvancedForm
Modal
=
"true"
/>
<
TimelineView
UserSelectable
=
"false"
/>
<
AppointmentTemplate
>
<%# Eval("Subject") %>
</
AppointmentTemplate
>
<
TimeSlotContextMenuSettings
EnableDefault
=
"true"
/>
<
AppointmentContextMenuSettings
EnableDefault
=
"true"
/>
<
ResourceTypes
>
<
telerik:ResourceType
KeyField
=
"CPK_CATEGORY"
Name
=
"Department"
TextField
=
"category"
ForeignKeyField
=
"category"
DataSourceID
=
"dsTodoCategory"
/>
</
ResourceTypes
>
<
AdvancedEditTemplate
>
<
div
id
=
"schform"
>
<
table
style
=
"width: 80%"
align
=
"center"
>
<
tr
>
<
td
style
=
"width: 25%"
>Patient:</
td
>
<
td
style
=
"width: 75%"
></
td
>
</
tr
>
<
tr
>
<
td
>Appt/Task:</
td
>
<
td
>
<
telerik:RadComboBox
ID
=
"cmbTodo"
runat
=
"server"
DataSourceID
=
"dsTodoList"
TabIndex
=
"1"
DataTextField
=
"subject"
DataValueField
=
"CPK_TODOINFO"
Height
=
"300px"
Width
=
"300px"
Text='<%# Bind("subject") %>' Skin="Vista" EmptyMessage="- Select -"
ShowDropDownOnTextboxClick="false" AllowCustomText="True">
</
telerik:RadComboBox
>
</
td
>
</
tr
>
<
tr
>
<
td
>Date:</
td
>
<
td
>
<
telerik:RadDatePicker
Skin
=
"WebBlue"
ID
=
"txtDueDate"
runat
=
"server"
DbSelectedDate='<%# Bind("start") %>' BackColor="#f7f8f9" TabIndex="2">
<
Calendar
ID
=
"Calendar1"
Skin
=
"WebBlue"
runat
=
"server"
ShowRowHeaders
=
"false"
/>
</
telerik:RadDatePicker
>
</
td
>
</
tr
>
<
tr
>
<
td
colspan
=
"2"
align
=
"center"
>
<
asp:Button
ID
=
"btnUpdate"
runat
=
"server"
Text
=
"Update"
CommandName
=
"Update"
/>
<
asp:Button
ID
=
"btnCancel"
runat
=
"server"
Text
=
"Cancel"
CommandName
=
"Cancel"
CausesValidation
=
"false"
/>
</
td
>
</
tr
>
</
table
>
</
div
>
</
AdvancedEditTemplate
>
</
telerik:RadScheduler
>