I'm trying to add a hyperlink and custom text to the AppointmentTemplate but getting a Javascript error. Here's the template markup:
Here's the script error:
}var m=this.getAppointmentDomElement(n.eventMapTarget);
var j=this.getAppointmentFromDomElement(m);
var l=(j.get_allowDelete()!=null)?j.get_allowDelete():this.get_allowDelete();
Could someone pointing me in the right direction? Ideally, I want to build a hyperlink that includes query string parameters. The full Scheduler code is at the very end.
Thanks,
Ken
<
AppointmentTemplate
>
<
div
class
=
"rsCustomAppointmentContainer"
>
<
a
href
=
"finance.aspx"
>
<%# Eval("FinancialLink.Text")%></
a
>
<
div
>
</
div
>
</
div
>
</
AppointmentTemplate
>
<
ResourceTypes
>
<
telerik:ResourceType
KeyField
=
"FinancialLogID"
Name
=
"FinancialLink"
TextField
=
"FinancialLogNumber"
ForeignKeyField
=
"FinancialLogID"
DataSourceID
=
"EntityDataSource3"
/>
</
ResourceTypes
>
Here's the script error:
}var m=this.getAppointmentDomElement(n.eventMapTarget);
var j=this.getAppointmentFromDomElement(m);
var l=(j.get_allowDelete()!=null)?j.get_allowDelete():this.get_allowDelete();
Could someone pointing me in the right direction? Ideally, I want to build a hyperlink that includes query string parameters. The full Scheduler code is at the very end.
Thanks,
Ken
<
telerik:RadScheduler
ID
=
"RadScheduler2"
runat
=
"server"
DataEndField
=
"DateEntered"
DataKeyField
=
"FinancialLogID"
Height
=
"558px"
DataStartField
=
"DateEntered"
EnableEmbeddedSkins
=
"true"
EnableViewState
=
"true"
DataSourceID
=
"EntityDataSource3"
StartEditingInAdvancedForm
=
"false"
DataSubjectField
=
"FinancialLogNumber"
HoursPanelTimeFormat
=
"htt"
Skin
=
"Web20"
ValidationGroup
=
"RadScheduler1"
ShowFooter
=
"true"
SelectedView
=
"MonthView"
Width
=
"670px"
ShowFullTime
=
"true"
RowHeight
=
"23px"
AllowDelete
=
"False"
AllowInsert
=
"False"
Visible
=
"False"
>
<
AppointmentTemplate
>
<
div
class
=
"rsCustomAppointmentContainer"
>
<
a
href
=
"finance.aspx"
>
<%# Eval("FinancialLink.Text")%></
a
>
<
div
>
</
div
>
</
div
>
</
AppointmentTemplate
>
<
ResourceTypes
>
<
telerik:ResourceType
KeyField
=
"FinancialLogID"
Name
=
"FinancialLink"
TextField
=
"FinancialLogNumber"
ForeignKeyField
=
"FinancialLogID"
DataSourceID
=
"EntityDataSource3"
/>
</
ResourceTypes
>
<
WeekView
HeaderDateFormat
=
"dd MMM yy"
/>
<
MonthView
HeaderDateFormat
=
"MMM yy"
/>
<
DayView
HeaderDateFormat
=
"dddd, MMM d, yy"
/>
<
TimelineView
UserSelectable
=
"false"
/>
</
telerik:RadScheduler
>