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

Calender not showing the correct selection of date in end of month

4 Answers 142 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Sangeeta
Top achievements
Rank 1
Sangeeta asked on 29 Dec 2014, 11:39 AM
Hello,
         I used the Rad Scheduler For selection of Etc Date in calendar. So When Testing have the 8 days (12/25/2014 to 01/05/2015) in Update Etc then selection of date 12/25/2014 to 12/31/2014 and extra 2 column selected in December month in calender. And the next month (January) selected date only 01/05/2015. 01/01/2015 and 01/02/2015 date not selected it is wrong. Its should be select the 01/01/2015 and 01/02/2015 date, means it should be select total 12/25/2014 to 01/05/2015 , not select the 2 extra column in calender.
          Attach the screen shot of Application. Please see it.


I using Rad Scheduler coding like-

<telerik:RadScheduler runat="server" ID="rscCalender"  
            
          GroupBy="ProjectID" GroupingDirection="Vertical"  
            DataSourceID="EventsDataSource" 
            DataKeyField="ProjectID"
            DataSubjectField="Stage" 
             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>
                </asp:Panel>
            </ResourceHeaderTemplate>
            <ResourceTypes>
                <telerik:ResourceType KeyField="BuildID" Name="ProjectID" TextField="ProjectName" ForeignKeyField="BuildID"
                 DataSourceID="ProjectSource"  ></telerik:ResourceType>
            </ResourceTypes>
          <DayView  UserSelectable="false"/>
   
            <WeekView UserSelectable="false" />
    <TimelineView  UserSelectable="false"/>
        </telerik:RadScheduler>

4 Answers, 1 is accepted

Sort by
0
Plamen
Telerik team
answered on 01 Jan 2015, 11:51 AM
Hello Sangeeta,

I have inspected the images but could not quite understand what is not working correctly. Would you please elaborate what is not correct wit the selection and if it can be replicated on some of our online demos?

Regards,
Plamen
Telerik
 

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.

 
0
Sangeeta
Top achievements
Rank 1
answered on 02 Jan 2015, 11:59 AM
Hello Plamen,
                      Please see the attach files in this sequence.
                       
1- Update_Etc_Date
2- Selection_on_Dec
3- Selection_on_Jan

 I hope this is understandable.
0
Plamen
Telerik team
answered on 05 Jan 2015, 07:53 AM
Hi,

The issue seems to be caused by some custom CSS styled that you are using in the project,. I have tested the behavior in a similar scenario in our Customizing the Time Slots demo and it worked correctly. Please review it and compare you CSS with the one suggested there.

Hope this will help you solve the issue.

Regards,
Plamen
Telerik
 

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.

 
0
Sangeeta
Top achievements
Rank 1
answered on 09 Jan 2015, 08:54 AM
Hello Plamen,
                      Sorry this is not help full. So please give the another solution if you have any solution.
Tags
Scheduler
Asked by
Sangeeta
Top achievements
Rank 1
Answers by
Plamen
Telerik team
Sangeeta
Top achievements
Rank 1
Share this question
or