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

items are not shown

1 Answer 46 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
ibrahim
Top achievements
Rank 1
ibrahim asked on 09 Mar 2009, 01:55 PM
i have a database with 2 date columns one is starting date and one is ending date plus other fields...i linked them to the table but it didnt work the scheduler is always empty... here is my code

<telerik:RadScheduler ID="RadScheduler1" runat="server" 
        DataEndField="Installariondate" DataKeyField="Sales_Order" 
        DataRecurrenceField="Status" DataRecurrenceParentKeyField="Sales_Order" 
        DataSourceID="SqlDataSource2" DataStartField="Requireddate" 
        DataSubjectField="Nodecode" HoursPanelTimeFormat="htt" Skin="Office2007" 
        style="top: -1px; left: 1px" ValidationGroup="RadScheduler1" SelectedView="WeekView"  >
        <ResourceTypes ><telerik:ResourceType DataSourceID="sqldatasource2" KeyField="Sales_Order"  Name="Nodecode" TextField="Status" ForeignKeyField="Sales_Order"/></ResourceTypes>
        
        
    </telerik:RadScheduler>
did i do any thing wrong?? help

1 Answer, 1 is accepted

Sort by
0
Accepted
Peter
Telerik team
answered on 09 Mar 2009, 02:13 PM
Hi ibrahim,

Probably the problem is related to Resources. You are using the same data source for both appointments and resources. You should have a separate data source for the resources. As a first step, I would suggest you remove the resource type and test if the appointments will show correctly. If yes, then please see this demo on how to define resources:
http://demos.telerik.com/aspnet-ajax/scheduler/examples/resources/defaultcs.aspx


All the best,
Peter
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Scheduler
Asked by
ibrahim
Top achievements
Rank 1
Answers by
Peter
Telerik team
Share this question
or