Scheduler resource not selected when adding a new meeting

4 posts, 0 answers
  1. David
    David avatar
    12 posts
    Member since:
    Jun 2009

    Posted 01 Jul 2009 Link to this post

    Hello,

    When adding a new meeting, I wondering how to preselct the resource in the edit detail view.
    With the following control I want to have a preselection on TeamMember when I add a meeting on the related line (for example to preselect John Doe if I add a meeting on the line of John Doe). As per today code, it is not working (see below).
    Thank you for your help
    David

     

    1     <telerik:RadScheduler ID="RadScheduler1" runat="server"   
    2         DataSourceID="RP_NG_Assignment"   
    3         HoursPanelTimeFormat="htt"   
    4         SelectedView="TimelineView" 
    5         TimelineView-NumberOfSlots="28" 
    6         TimelineView-SlotDuration="1.00:00:00" 
    7         GroupBy="TeamMember"   
    8         GroupingDirection="Vertical"   
    9         ValidationGroup="RadScheduler1"   
    10         DayStartTime="08:00:00" 
    11         DayEndTime="17:00:00" 
    12         TimeZoneOffset="01:00:00" 
    13         ColumnWidth="50px" 
    14         Height="100%" 
    15         DataEndField="End"   
    16         DataKeyField="ID"   
    17         DataStartField="Start"   
    18         DataSubjectField="Subject"   
    19         Skin="Office2007" > 
    20         <ResourceTypes> 
    21             <telerik:ResourceType DataSourceID="RP_NG_User" ForeignKeyField="UserID" KeyField="GlobeID" Name="TeamMember" TextField="FullName" /> 
    22             <telerik:ResourceType DataSourceID="RP_NG_Roles" ForeignKeyField="RoleID" KeyField="ID" Name="Roles" TextField="Name" /> 
    23         </ResourceTypes> 
    24     </telerik:RadScheduler> 
  2. Peter
    Admin
    Peter avatar
    6637 posts

    Posted 01 Jul 2009 Link to this post

    Hello David,

    The behavior which you require is the default bahavior of RadScheduler. It is exhibitted in this online demo: http://demos.telerik.com/aspnet-ajax/scheduler/examples/resourcegrouping/defaultcs.aspx
    Try inserting a new appointment under any room and open the advanced form. You will see the corresponding room is preselected. Please, let me know how your case is different.


    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. David
    David avatar
    12 posts
    Member since:
    Jun 2009

    Posted 01 Jul 2009 Link to this post

    In the demo it works... but on my page not. When I open the advanced form, I don't have my resource name pre-selected which I thought was automatic (there is a dash in the dropdown list instead of the name of the guy), I certainly missed something but I can't figure out what on this simple page...

    UPDATE:
    At least, I tried to use the latest internal build 2009.1.623 and it returns the following error:
    • Line: 8338
      Error: Invalid argument.
  5. Peter
    Admin
    Peter avatar
    6637 posts

    Posted 01 Jul 2009 Link to this post

    Hello David,

    Can you open a support ticket and send us a simple working demo which we can test locally?


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