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

Scheduler Resource bug?

1 Answer 48 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Fit2Page
Top achievements
Rank 2
Iron
Iron
Iron
Fit2Page asked on 26 Jul 2017, 02:14 PM

This works:

 

   <ResourceTypes>
                <telerik:ResourceType KeyField="id" Name="Vragenset" TextField="description" ForeignKeyField="VragensetID"
                    DataSourceID="sds_vragenset"></telerik:ResourceType>

                      <telerik:ResourceType KeyField="id" Name="Project" TextField="description" ForeignKeyField="ProjectID"
                    DataSourceID="sds_project"></telerik:ResourceType>

            </ResourceTypes>

 

But this is not working:

 

   <ResourceTypes>
                <telerik:ResourceType KeyField="id" Name="VragensetID" TextField="description" ForeignKeyField="VragensetID"
                    DataSourceID="sds_vragenset"></telerik:ResourceType>

                      <telerik:ResourceType KeyField="id" Name="ProjectID" TextField="description" ForeignKeyField="ProjectID"
                    DataSourceID="sds_project"></telerik:ResourceType>

            </ResourceTypes>

 

Mind that I names the Name the same as ForeignKeyField. Is this a bug or by design?

 

Marc

1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 31 Jul 2017, 12:46 PM
Hi Marc,

We are not aware with such a built-in limitation of RadScheduler but it looks like that the control messes up when the names of the Name and ForeignKeyField properties are identical.

My advice is to set different fields for both properties to avoid this problem from happening.


Best regards,
Rumen
Progress Telerik
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
Scheduler
Asked by
Fit2Page
Top achievements
Rank 2
Iron
Iron
Iron
Answers by
Rumen
Telerik team
Share this question
or