Multiple resources in radschedular

2 posts, 0 answers
  1. Kalpna
    Kalpna avatar
    37 posts
    Member since:
    Jun 2013

    Posted 10 Aug 2013 Link to this post

    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"
     >
  2. Plamen
    Admin
    Plamen avatar
    2729 posts

    Posted 14 Aug 2013 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top