I need a timeline view just as your examples. categories type on rows, date on columns.
I want to bind their datasources to my businness object, I'm missing something cause nothing happens on the rows
I did this:
getAllTimeLineType and getAllAppointments return collections having IDCategory in common. I guess this is not what needed.
I want to bind their datasources to my businness object, I'm missing something cause nothing happens on the rows
I did this:
getAllTimeLineType and getAllAppointments return collections having IDCategory in common. I guess this is not what needed.
<
telerik:RadScheduler
runat
=
"server"
ID
=
"RadScheduler1"
SelectedView
=
"TimelineView"
OverflowBehavior
=
"Expand"
Localization-HeaderMultiDay
=
"Work Week"
OnNavigationComplete
=
"RadScheduler1_NavigationComplete"
OnAppointmentInsert
=
"RadScheduler1_AppointmentInsert"
OnAppointmentUpdate
=
"RadScheduler1_AppointmentUpdate"
OnAppointmentDelete
=
"RadScheduler1_AppointmentDelete"
DataKeyField
=
"ID"
DataSubjectField
=
"Subject"
DataStartField
=
"StartDate"
DataEndField
=
"EndDate"
DataRecurrenceField
=
"RecurrenceRule"
DataRecurrenceParentKeyField
=
"RecurrenceParentId"
DataReminderField
=
"Reminder"
>
<
ResourceTypes
>
<
telerik:ResourceType
AllowMultipleValues
=
"true"
KeyField
=
"IDCategory"
Name
=
"IDCategory"
TextField
=
"IDCategory"
ForeignKeyField
=
"IDCategory"
/>
</
ResourceTypes
>
<
AdvancedForm
Modal
=
"true"
/>
<
Localization
HeaderMultiDay
=
"Work Week"
/>
<
TimelineView
UserSelectable
=
"true"
GroupBy
=
"IDCategory"
GroupingDirection
=
"Vertical"
/>
<
MultiDayView
UserSelectable
=
"true"
/>
<
DayView
UserSelectable
=
"false"
/>
<
WeekView
UserSelectable
=
"false"
/>
<
MonthView
UserSelectable
=
"false"
/>
<
Reminders
Enabled
=
"false"
/>
</
telerik:RadScheduler
>
Private Sub Page_Load(ByVal sender As Object, ByVal e As EventArgs)
Try
Dim myBusinessResObj = New ADEPT.CScheduleResource(myConn)
Dim resType1 As New ResourceType("IDCategory")
resType1.DataSource = myBusinessResObj.getAllTimelineType()
resType1.KeyField = "IDCategory"
resType1.TextField = "IDCategory"
resType1.ForeignKeyField = "IDCategory"
RadScheduler1.ResourceTypes.Add(resType1)
RadScheduler1.GroupBy = "IDCategory"
myBusinessObj = New ADEPT.CScheduler(myConn)
RadScheduler1.DataSource = myBusinessObj.getAllAppointments
myBusinessObj = Nothing
Catch ex As Exception
End Try
End Sub