Note that there are some explanatory texts on larger screens.

plurals
  1. POResources not being 'selected' in Telerik Scheduler Edit Dialog
    text
    copied!<p>I've implemented Telerik scheduler on timeline view. I am allowing a M:M relationship between my y-axis resource (advocates) and Meetings. Here is what my scheduler looks like:</p> <p><img src="https://i.stack.imgur.com/FY2OL.png" alt="Timeline View"></p> <p>When I double click one of the instances of the meeting, the advanced edit dialog appears. However, in here, none of the advocates are selected as participants in the meeting:</p> <p><img src="https://i.stack.imgur.com/ozw5Y.png" alt="Advocate Resources - edit meeting dialog"></p> <p>There are a number of advocates for whom this meeting appears in the timeline. Why do they not get displayed as selected in the edit form?</p> <p>The problem doesn't end there. I have a second type of resources (legislators) that also has a M:M relationship with Meetings. There is a similar problem here - I have relationships defined for this meeting and 4 legislators, but only the first legislator is checked (and the other three remain unckecked):</p> <p><img src="https://i.stack.imgur.com/duebU.png" alt="Legislator Resources - edit meeting dialog"></p> <p>I need to add two other types of resources (again, each will be M:M with Meetings), and I expect that I will have a similar problem to the two I have already added.</p> <p>I have been able to verify visually by changing the grouping of my scheduler and through SQL queries that the relationships in the database are valid. So, why am I unable to see each of these related resources checked? My scheduler code is as follows:</p> <pre><code>&lt;telerik:RadScheduler runat="server" ID="RadScheduler1" AdvancedForm-Enabled="true" AllowEdit="true" AllowInsert="true" DataEndField="End" DataKeyField="ID" DataSourceID="EventsDataSource" DataStartField="Start" DataSubjectField="Subject" DayEndTime="17:00:00" DayStartTime="07:00:00" EnableAdvancedForm="true" Localization-HeaderMultiDay="Work Week" OverflowBehavior="Expand" OnAppointmentDelete="OnAppointmentDelete" OnAppointmentInsert="OnAppointmentInsert" OnAppointmentUpdate="OnAppointmentEdited" OnNavigationComplete="RadScheduler1_NavigationComplete" SelectedDate="9/20/2011" SelectedView="TimelineView" &gt; &lt;AppointmentContextMenuSettings EnableDefault="true" /&gt; &lt;AdvancedForm Modal="true" /&gt; &lt;ResourceTypes&gt; &lt;telerik:ResourceType KeyField="Adv_AdvocateID" AllowMultipleValues="true" Name="Advocate" TextField="Adv_FullName" ForeignKeyField="Adv_AdvocateID" DataSourceID="AdvocatesDataSource" /&gt; &lt;/ResourceTypes&gt; &lt;ResourceTypes&gt; &lt;telerik:ResourceType KeyField="Leg_LegID" Name="Legislator" AllowMultipleValues="true" TextField="Leg_FullName" ForeignKeyField="Leg_LegID" DataSourceID="LegislatorsDataSource" /&gt; &lt;/ResourceTypes&gt; &lt;TimelineView UserSelectable="true" GroupBy="Advocate" GroupingDirection="Vertical" /&gt; &lt;MultiDayView UserSelectable="false" /&gt; &lt;DayView UserSelectable="false" /&gt; &lt;WeekView UserSelectable="false" /&gt; &lt;MonthView UserSelectable="false" /&gt; &lt;/telerik:RadScheduler&gt; </code></pre> <p>I'm hoping someone can shed some insight into how to correctly display the selected resources in the edit appointment dialog, and I thank you in advance for your help.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload