Hello,
I have followed the instructions found in the Advanced Templates link that is often provided in this forum and have hit a snag. The Start Date, Start Time, End Date, and End Time don't work properly. The date and time will populate...but when you attempt to drill down a different date or time, nothing happens. Not only that, when checking or unchecking the All Day option, the time fields do not appear or disappear.
Are there any known issues with this example? Is the AdvancedForm.js file where the code for the date/time picker is? I have attached the two code snippets. One from the main aspx page that holds the radscheduler...and one from the user control that has the template code in it.
I have followed the instructions found in the Advanced Templates link that is often provided in this forum and have hit a snag. The Start Date, Start Time, End Date, and End Time don't work properly. The date and time will populate...but when you attempt to drill down a different date or time, nothing happens. Not only that, when checking or unchecking the All Day option, the time fields do not appear or disappear.
Are there any known issues with this example? Is the AdvancedForm.js file where the code for the date/time picker is? I have attached the two code snippets. One from the main aspx page that holds the radscheduler...and one from the user control that has the template code in it.
<
telerik:Radscheduler
ID
=
"RadScheduler1"
runat
=
"server"
DisplayDeleteConfirmation
=
"true"
SelectedDate
=
"2011-11-15"
TimeZoneOffset
=
"03:00:00"
AppointmentStyleMode
=
"Default"
Height
=
""
Skin
=
"Office2007"
AllowInsert
=
"true"
AllowDelete
=
"true"
EnableDescriptionField
=
"true"
onappointmentdelete
=
"radSched_AppointmentDelete"
onappointmentinsert
=
"radSched_AppointmentInsert"
StartEditingInAdvancedForm
=
"true"
StartInsertingInAdvancedForm
=
"true"
onappointmentupdate
=
"radSched_AppointmentUpdate"
OnClientFormCreated
=
"radSched_ClientFormCreated"
>
<
TimelineView
UserSelectable
=
"false"
/>
<
AdvancedForm
Modal
=
"true"
/>
<
AdvancedEditTemplate
>
<
scheduler:SchedulerAdvancedForm
runat
=
"server"
ID
=
"AdvancedEditForm1"
Mode
=
"Edit"
Subject='<%# Bind("Subject") %>'
Start='<%# Bind("Start") %>' End='<%# Bind("End") %>' RecurrenceRuleText='<%# Bind("RecurrenceRule") %>' Description='<%# Bind("Description") %>' />
</
AdvancedEditTemplate
>
<
AdvancedInsertTemplate
>
<
scheduler:SchedulerAdvancedForm
runat
=
"server"
ID
=
"AdvancedEditForm1"
Mode
=
"Insert"
Subject='<%# Bind("Subject") %>'
Start='<%# Bind("Start") %>' End='<%# Bind("End") %>' RecurrenceRuleText='<%# Bind("RecurrenceRule") %>' Description='<%# Bind("Description") %>' />
</
AdvancedInsertTemplate
>
<
TimeSlotContextMenuSettings
EnableDefault
=
"true"
/>
<
AppointmentContextMenuSettings
EnableDefault
=
"true"
/>
</
telerik:Radscheduler
>
<
ul
class
=
"rsTimePickers"
>
<
li
class
=
"rsTimePick"
>
<
label
for='<%= StartDate.ClientID %>_dateInput_text'>
<%= Owner.Localization.AdvancedFrom %></
label
>
<%--
Leaving a newline here will affect the layout, so we use a comment instead.
--%><
telerik:RadDatePicker
runat
=
"server"
ID
=
"StartDate"
CssClass
=
"rsAdvDatePicker"
Width
=
"83px"
SharedCalendarID
=
"SharedCalendar"
Skin='<%# Owner.Skin %>' Culture='<%# Owner.Culture %>'
MinDate="1900-01-01">
<
DatePopupButton
Visible
=
"False"
/>
<
DateInput
ID
=
"DateInput2"
runat
=
"server"
DateFormat='<%# Owner.AdvancedForm.DateFormat %>'
EmptyMessageStyle-CssClass="riError" EmptyMessage=" " EnableSingleInputRendering="false"/>
</
telerik:RadDatePicker
>
<%--
--%><
telerik:RadTimePicker
runat
=
"server"
ID
=
"StartTime"
CssClass
=
"rsAdvTimePicker"
Width
=
"65px"
Skin='<%# Owner.Skin %>' Culture='<%# Owner.Culture %>'>
<
DateInput
ID
=
"DateInput3"
runat
=
"server"
EmptyMessageStyle-CssClass
=
"riError"
EmptyMessage
=
" "
EnableSingleInputRendering
=
"false"
/>
<
TimePopupButton
Visible
=
"false"
/>
<
TimeView
ID
=
"TimeView1"
runat
=
"server"
Columns
=
"2"
ShowHeader
=
"false"
StartTime
=
"08:00"
EndTime
=
"18:00"
Interval
=
"00:30"
/>
</
telerik:RadTimePicker
>
</
li
>
<
li
class
=
"rsTimePick"
>
<
label
for='<%= EndDate.ClientID %>_dateInput_text'>
<%= Owner.Localization.AdvancedTo%></
label
><%--
--%><
telerik:RadDatePicker
runat
=
"server"
ID
=
"EndDate"
CssClass
=
"rsAdvDatePicker"
Width
=
"83px"
SharedCalendarID
=
"SharedCalendar"
Skin='<%# Owner.Skin %>' Culture='<%# Owner.Culture %>'
MinDate="1900-01-01">
<
DatePopupButton
Visible
=
"False"
/>
<
DateInput
ID
=
"DateInput4"
runat
=
"server"
DateFormat='<%# Owner.AdvancedForm.DateFormat %>'
EmptyMessageStyle-CssClass="riError" EmptyMessage=" " EnableSingleInputRendering="false"/>
</
telerik:RadDatePicker
>
<%--
--%><
telerik:RadTimePicker
runat
=
"server"
ID
=
"EndTime"
CssClass
=
"rsAdvTimePicker"
Width
=
"65px"
Skin='<%# Owner.Skin %>' Culture='<%# Owner.Culture %>'>
<
DateInput
ID
=
"DateInput5"
runat
=
"server"
EmptyMessageStyle-CssClass
=
"riError"
EmptyMessage
=
" "
EnableSingleInputRendering
=
"false"
/>
<
TimePopupButton
Visible
=
"false"
/>
<
TimeView
ID
=
"TimeView2"
runat
=
"server"
Columns
=
"2"
ShowHeader
=
"false"
StartTime
=
"08:00"
EndTime
=
"18:00"
Interval
=
"00:30"
/>
</
telerik:RadTimePicker
>
</
li
>
<
li
class
=
"rsAllDayWrapper"
>
<
asp:CheckBox
runat
=
"server"
ID
=
"AllDayEvent"
CssClass
=
"rsAdvChkWrap"
Checked
=
"false"
/>
</
li
>
</
ul
>