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

Multiple resources in radschedular

1 Answer 46 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
Kalpna
Top achievements
Rank 1
Kalpna asked on 10 Aug 2013, 07:34 AM
Hello,
i am adding a resource in radschedular in which the property of resource AllowMultiplevalues is true. Now i want to ask that is there any way to find the particular values which are selected by the user and on which event we can do this??

  
<telerik:RadScheduler ID="RadScheduler1" runat="server"  DataDescriptionField="abc_description"
                DataEndField="schedule_todate" DataKeyField="abc_id" DataRecurrenceField="RecData"
                DataRecurrenceParentKeyField="RecParent" DataSourceID="SqlDS_abc" DataStartField="schedule_fromdate"
                DataSubjectField="abc_title" EnableDescriptionField="True" SelectedView="MonthView"      >
                <ResourceTypes>
                 <telerik:ResourceType DataSourceID="SqlDS_DBGroup" ForeignKeyField="dbGrp_id"
                        KeyField="dbGrp_id
" Name="DB_Group" TextField="dbgrp_name" AllowMultipleValues="true" />             
                </ResourceTypes>
 </telerik:RadScheduler>
 <asp:SqlDataSource ID="SqlDS_DBGroup" runat="server" ConnectionString="<%$ ConnectionStrings:DB_LiveConnectionString %>"
                DeleteCommand="DELETE FROM ref.abc WHERE (abc_id= @abc_id)" InsertCommand="INSERT INTO ref.abc(dbgrp_name
, schedule_fromdate, schedule_todate, abc_description, RecParent, RecData, abc_type_id,user_fkid, grp_fkid) VALUES (@dbgrp_name
, @schedule_fromdate, @schedule_todate, @abc_description
, @RecParent, @RecData, ISNULL(@abc_type_id
,-1),@user_fkid,ISNULL(@grp_fkid
,-1))"
                SelectCommand="DECLARE  @return_value int EXEC  @return_value = [dbo].[selectActivity] @user_fkid"
 >

1 Answer, 1 is accepted

Sort by
0
Plamen
Telerik team
answered on 14 Aug 2013, 01:55 PM
Hello,

 
If you want to use Multiple resources with RadScheduler you have to use provider as it is described in this documentation article and as it is implemented in the sample project here.

Hope this will explain the issue.

Regards,
Plamen
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
Tags
Calendar
Asked by
Kalpna
Top achievements
Rank 1
Answers by
Plamen
Telerik team
Share this question
or