Scheduler Resource bug?

2 posts, 0 answers
  1. Fit2Page
    Fit2Page avatar
    407 posts
    Member since:
    Feb 2007

    Posted 26 Jul 2017 Link to this post

    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

  2. Rumen
    Admin
    Rumen avatar
    13705 posts

    Posted 31 Jul 2017 Link to this post

    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.
Back to Top