in
Forums
Blogs
Files
Devexpress.Com
Client Center
Support Center
DevExpress Channel

Databinding to ObjectDataset

Last post 10/19/2008 8:50 AM by Baburaj Balan. 0 replies.
Page 1 of 1 (1 items)
Sort Posts:
Previous Next
  • 10/19/2008 8:50 AM

    Databinding to ObjectDataset

    I've created a ObjectDataset for Appointments datasource and another for ResourceDatasource. I have mapped columns for ASPxScheduler and assigned datasources too. But no data is appearing on scheduler view. What are the troubleshooting options?

     ASPX code for the scheduler is as follows: 

             <dxwschs:ASPxScheduler runat="server" ActiveViewType="Timeline" Views-DayView-Enabled="false"
                Views-WeekView-Enabled="false" Views-WorkWeekView-Enabled="false" Views-MonthView-Enabled="false"
                ClientInstanceName="scheduler" ID="scheduler" Width="100%" Start="2008-01-01"
                Font-Names="Tahoma" Font-Size="8pt" AppointmentDataSourceID="odsScheduler" ResourceDataSourceID="odsResource">
                <Storage EnableReminders="false">
                    <Appointments>
                        <Mappings AppointmentId="UniqueID" Description="Description" End="EndDate" Label="Label"
                            Location="Location" Start="StartDate" Subject="Subject" Type="UnitType" Status="Status"
                            AllDay="AllDay" RecurrenceInfo="RecurrenceInfo" ReminderInfo="ReminderInfo" ResourceId="UnitId" />
                    </Appointments>
                    <Resources>
                        <Mappings Caption="MU_CODE" ResourceId="MU_ID" />
                    </Resources>
                </Storage>
                <OptionsView FirstDayOfWeek="Sunday">
                </OptionsView>
                <Views>
                    <DayView Enabled="False">
                        <TimeRulers>
                            <cc1:TimeRuler>
                            </cc1:TimeRuler>
                        </TimeRulers>
                    </DayView>
                    <WorkWeekView Enabled="False">
                        <TimeRulers>
                            <cc1:TimeRuler>
                            </cc1:TimeRuler>
                        </TimeRulers>
                    </WorkWeekView>
                    <WeekView Enabled="False">
                    </WeekView>
                    <MonthView Enabled="False">
                    </MonthView>
                    <TimelineView ShortDisplayName="Temporary Leasing">
                        <AppointmentDisplayOptions AppointmentAutoHeight="True" />
                    </TimelineView>
                </Views>
            </dxwschs:ASPxScheduler>
            <asp:ObjectDataSource ID="odsScheduler" runat="server" OldValuesParameterFormatString="original_{0}"
                SelectMethod="GetData" TypeName="DAL.SchedulerDataSetTableAdapters.SchedulerAdapter">
            </asp:ObjectDataSource>
            <asp:ObjectDataSource ID="odsResource" runat="server" OldValuesParameterFormatString="original_{0}"
                SelectMethod="GetData" TypeName="DAL.SchedulerDataSetTableAdapters.ResourceAdapter">
            </asp:ObjectDataSource>

Page 1 of 1 (1 items)
Copyright © 1998-2008 Developer Express Inc.
ALL RIGHTS RESERVED