Calender show same colour in selected date

2 posts, 0 answers
  1. Sangeeta
    Sangeeta avatar
    8 posts
    Member since:
    Dec 2014

    Posted 09 Jan 2015 Link to this post

             I used Rad Scheduler So in calender show the same colour for Definition,Development,Testing,Retesting in selected date like screen shot of MyCalenderView. This is wrong. It should different-different colour for Definition,Development,Testing,Retesting in selected date like screen shot of Calender_View.
             Attach the screen shot.

    <telerik:RadScheduler runat="server" ID="rscCalender"  
              GroupBy="ProjectID" GroupingDirection="Vertical"  
                 FirstDayOfWeek="Monday" LastDayOfWeek="Friday"
                  DataStartField="Phase_Start_Date" DataEndField="Phase_End_Date"
                 SelectedView="MonthView" OnTimeSlotCreated="rscCalender_TimeSlotCreated"
                OnAppointmentInsert="rscCalender_AppointmentInsert" OnAppointmentUpdate="rscCalender_AppointmentUpdate" AllowDelete="false" AllowEdit="false" AllowInsert="false" >

                <MonthView FirstDayHeaderDateFormat="''d''" />
                <AdvancedForm Modal="false"></AdvancedForm>
                <ResourceHeaderTemplate >
                    <asp:Panel ID="ResourceImageWrapper" runat="server">               
                        <asp:LinkButton ID="lnkProjectName" runat="server" ></asp:LinkButton>
                    <telerik:ResourceType KeyField="BuildID" Name="ProjectID" TextField="ProjectName" ForeignKeyField="BuildID"
                     DataSourceID="ProjectSource"  ></telerik:ResourceType>
              <DayView  UserSelectable="false"/>
                <WeekView UserSelectable="false" />
        <TimelineView  UserSelectable="false"/>

  2. Boyan Dimitrov
    Boyan Dimitrov avatar
    2062 posts

    Posted 14 Jan 2015 Link to this post


    As far as I understand you want to apply different color to the appointments based on the their resource value. I would suggest using the RadScheduler ResourceStyleMapping as shown in the Setting styles for appointments help article. Specifically please take a look at the Resource style mapping section.

    Boyan Dimitrov

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

Back to Top