This is a migrated thread and some comments may be shown as answers.

how to bind to object data source, timeline view

1 Answer 55 Views
This is a migrated thread and some comments may be shown as answers.
Top achievements
Rank 1
Jean-Marc asked on 21 May 2012, 10:05 AM
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.

<telerik:RadScheduler runat="server" ID="RadScheduler1" SelectedView="TimelineView"
            Localization-HeaderMultiDay="Work Week"
                <telerik:ResourceType AllowMultipleValues="true" KeyField="IDCategory" Name="IDCategory" TextField="IDCategory" ForeignKeyField="IDCategory" />
            <AdvancedForm Modal="true" />
              <Localization HeaderMultiDay="Work Week" />
            <TimelineView UserSelectable="true"
                        GroupingDirection="Vertical" />
            <MultiDayView UserSelectable="true" />
            <DayView UserSelectable="false" />
            <WeekView UserSelectable="false" />
            <MonthView UserSelectable="false" />
              <Reminders Enabled="false" />
  Private Sub Page_Load(ByVal sender As Object, ByVal e As EventArgs)
                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.GroupBy = "IDCategory"
                myBusinessObj = New ADEPT.CScheduler(myConn)
                RadScheduler1.DataSource = myBusinessObj.getAllAppointments
                myBusinessObj = Nothing
        Catch ex As Exception
        End Try
    End Sub

1 Answer, 1 is accepted

Sort by
Telerik team
answered on 21 May 2012, 05:15 PM
Hi Jean-Marc,

Take a look at the following documentation: RadScheduler Data Binding.
If nothing from there helps,  you could send me a sample project, via support ticket, of your scenario so I would be able to troubleshoot the issues locally.

the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Asked by
Top achievements
Rank 1
Answers by
Telerik team
Share this question