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

Scheduler resource not selected when adding a new meeting

3 Answers 69 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
David
Top achievements
Rank 1
David asked on 01 Jul 2009, 07:45 AM
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

 

    <telerik:RadScheduler ID="RadScheduler1" runat="server"   
        DataSourceID="RP_NG_Assignment"   
        HoursPanelTimeFormat="htt"   
        SelectedView="TimelineView" 
        TimelineView-NumberOfSlots="28" 
        TimelineView-SlotDuration="1.00:00:00" 
        GroupBy="TeamMember"   
        GroupingDirection="Vertical"   
        ValidationGroup="RadScheduler1"   
        DayStartTime="08:00:00" 
        DayEndTime="17:00:00" 
        TimeZoneOffset="01:00:00" 
        ColumnWidth="50px" 
        Height="100%" 
        DataEndField="End"   
        DataKeyField="ID"   
        DataStartField="Start"   
        DataSubjectField="Subject"   
        Skin="Office2007" > 
        <ResourceTypes> 
            <telerik:ResourceType DataSourceID="RP_NG_User" ForeignKeyField="UserID" KeyField="GlobeID" Name="TeamMember" TextField="FullName" /> 
            <telerik:ResourceType DataSourceID="RP_NG_Roles" ForeignKeyField="RoleID" KeyField="ID" Name="Roles" TextField="Name" /> 
        </ResourceTypes> 
    </telerik:RadScheduler> 

3 Answers, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 01 Jul 2009, 11:00 AM
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.
0
David
Top achievements
Rank 1
answered on 01 Jul 2009, 12:03 PM
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.
0
Peter
Telerik team
answered on 01 Jul 2009, 01:08 PM
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.
Tags
Scheduler
Asked by
David
Top achievements
Rank 1
Answers by
Peter
Telerik team
David
Top achievements
Rank 1
Share this question
or