Hello
I've successfully added a resource field called "Assigned" to my radscheduler and I've tried setting the style of the appointments via the resource mapping but it does not work.
I've followed the guides and i've even tried changing it via the vb code and all of my efforts seem to be ignored for some reason.
I was wondering if there is anything i've overlooked or something that would override my settings.
The radscheduler code in my project is as follows;
<
telerik:RadScheduler
ID
=
"RadScheduler1"
runat
=
"server"
DataDescriptionField
=
"Description"
DataEndField
=
"Endtime"
DataKeyField
=
"ID"
DataReminderField
=
"Reminder"
DataSourceID
=
"SqlDataSource1"
DataStartField
=
"Starttime"
DataSubjectField
=
"Subject"
BorderStyle
=
"None"
Culture
=
"en-GB"
FirstDayOfWeek
=
"Monday"
LastDayOfWeek
=
"Friday"
SelectedView
=
"TimelineView"
ShowFooter
=
"False"
ShowHoursColumn
=
"False"
EnableDescriptionField
=
"True"
AllowDelete
=
"False"
BackColor
=
"#EEEEEE"
EnableRecurrenceSupport
=
"False"
ShowViewTabs
=
"False"
StartInsertingInAdvancedForm
=
"True"
RowHeight
=
"30px"
OnAppointmentDataBound
=
"RadScheduler1_SchedulerDataBound"
AllowInsert
=
"False"
Height
=
"340px"
TimelineView-HeaderDateFormat
=
"d"
RowHeaderWidth
=
"46px"
>
<
ExportSettings
>
<
Pdf
PageTopMargin
=
"1in"
PageBottomMargin
=
"1in"
PageLeftMargin
=
"1in"
PageRightMargin
=
"1in"
AllowAdd
=
"True"
AllowModify
=
"True"
PageHeight
=
"297mm"
PageWidth
=
"210mm"
PaperSize
=
"A4"
></
Pdf
>
</
ExportSettings
>
<
ResourceTypes
>
<
telerik:ResourceType
DataSourceID
=
"SqlDataSource1"
ForeignKeyField
=
"UserID"
KeyField
=
"UserID"
Name
=
"Assigned"
TextField
=
"Assigned"
/>
</
ResourceTypes
>
<
ResourceStyles
>
<
telerik:ResourceStyleMapping
Type
=
"Assigned"
Text
=
"DW"
ApplyCssClass
=
"CatCheckBox1"
BackColor
=
"#3366FF"
/>
<
telerik:ResourceStyleMapping
Type
=
"Assigned"
Text
=
"NR"
ApplyCssClass
=
"rsCategoryBlue"
/>
<
telerik:ResourceStyleMapping
Type
=
"Assigned"
Text
=
"JK"
ApplyCssClass
=
"rsCategoryDarkGreen"
/>
<
telerik:ResourceStyleMapping
Type
=
"Assigned"
Text
=
"MG"
ApplyCssClass
=
"rsCategoryGreen"
/>
<
telerik:ResourceStyleMapping
Type
=
"Assigned"
Text
=
"NSG"
ApplyCssClass
=
"rsCategoryDarkRed"
/>
<
telerik:ResourceStyleMapping
Type
=
"Assigned"
Text
=
"AR"
ApplyCssClass
=
"rsCategoryOrange"
/>
<
telerik:ResourceStyleMapping
Type
=
"Assigned"
Text
=
"NN"
ApplyCssClass
=
"rsCategoryPink"
/>
<
telerik:ResourceStyleMapping
Type
=
"Assigned"
Text
=
"AMK"
ApplyCssClass
=
"rsCategoryRed"
/>
<
telerik:ResourceStyleMapping
Type
=
"Assigned"
Text
=
"EN"
ApplyCssClass
=
"rsCategoryViolet"
/>
<
telerik:ResourceStyleMapping
Type
=
"Assigned"
Text
=
"SD"
ApplyCssClass
=
"rsCategoryYellow"
/>
</
ResourceStyles
>
<
Localization
AdvancedNewAppointment
=
"New Schedule"
AdvancedEditAppointment
=
"Edit Schedule"
AdvancedFrom
=
"Received Date"
AdvancedSubjectRequired
=
"Please provide a schedule subject"
AdvancedTo
=
"Promised Date"
ContextMenuAddAppointment
=
"New Schedule"
HeaderAddAppointment
=
"Add Schedule"
HeaderAgendaAppointment
=
"Schedule"
HeaderDay
=
"1 Day"
HeaderWeek
=
"7 Day"
/>
<
TimelineView
HeaderDateFormat
=
"dd-MM-yy"
NumberOfSlots
=
"7"
ShowInsertArea
=
"False"
/>
<
WeekView
UserSelectable
=
"False"
/>
<
DayView
UserSelectable
=
"False"
/>
<
MultiDayView
ReadOnly
=
"True"
ShowHoursColumn
=
"False"
/>
<
MonthView
UserSelectable
=
"False"
VisibleAppointmentsPerDay
=
"3"
/>
<
AgendaView
ReadOnly
=
"True"
ResourceMarkerType
=
"Bar"
/>
<
AppointmentContextMenuSettings
EnableDefault
=
"False"
/>
<
TimeSlotContextMenuSettings
EnableDefault
=
"False"
/>
<
Reminders
Enabled
=
"True"
/>
</
telerik:RadScheduler
>
Thanks