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

Back and Next Buttons not updating calendar view.

1 Answer 78 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Philip
Top achievements
Rank 1
Philip asked on 25 Apr 2016, 12:44 PM

For some reason the previous and next buttons are not updating my clanedar the date with the back button and next button.

        <telerik:RadScheduler ShowAllDayRow="false" OnTimeSlotCreated="apertureAppointments_TimeSlotCreated" OverflowBehavior="Auto" runat="server" WeekView-ShowDateHeaders="true" ID="apertureAppointments"
            TimelineView-UserSelectable="false" DayView-UserSelectable="true" AgendaView-UserSelectable="True" DataKeyField="ID" DataSubjectField="Subject" AllowInsert="false" AllowDelete="false" AllowEdit="false"
            DataStartField="Start" DataEndField="End" DataRecurrenceField="RecurrenceRule" DayView-EnableExactTimeRendering="true" WeekView-UserSelectable="True" SelectedView="WeekView"
            DataRecurrenceParentKeyField="RecurrenceParentID" DataSourceID="EntityDataSource1" StartInsertingInAdvancedForm="True" MonthView-UserSelectable="True" AgendaView-NumberOfDays="5" RowHeight="40px"
            RenderMode="Classic" EnableExactTimeRendering="True" DataReminderField="Reminder" Width="800px" Height="1000px" EnableDatePicker="true" ShowHeader="true"  ShowDateHeaders="true"
            DayStartTime="09:00:00" ShowFooter="false" DayEndTime="18:00" FirstDayOfWeek="Monday" LastDayOfWeek="Friday" HoursPanelTimeFormat="HH:mm tt" OnAppointmentClick="apertureAppointments_AppointmentClick" OnTimeSlotContextMenuItemClicking="apertureAppointments_TimeSlotContextMenuItemClicking"
            EnableDescriptionField="true" AppointmentStyleMode="Default" Skin="Metro" OnNavigationCommand="apertureAppointments_NavigationCommand">
             
            <AdvancedForm Modal="True" />
            <Reminders MaxAge="5" />
            <Reminders Enabled="true"></Reminders>
            <TimeSlotContextMenuSettings EnableDefault="false" />
            <AppointmentContextMenuSettings EnableDefault="false" />
            <DayView EnableExactTimeRendering="True" />
            <AdvancedForm Modal="true"></AdvancedForm>
            <ResourceTypes>
                <telerik:ResourceType KeyField="lookup_code" Name="Managers" TextField="lookup_description" ForeignKeyField="managerId"
                    DataSourceID="ManagersDataSource"></telerik:ResourceType>
            </ResourceTypes>
            <ResourceStyles>
                <%--AppointmentStyleMode must be explicitly set to Default (see above) otherwise setting BackColor/BorderColor
    will switch the appointments to Simple rendering (no rounded corners and gradients)--%>
                <telerik:ResourceStyleMapping Type="Managers" Text="Natalie Edgar"
                    BackColor="#512479" ApplyCssClass="appointment" />
                <telerik:ResourceStyleMapping Type="Managers" Text="Clare Coyle"
                    BackColor="#512479" ApplyCssClass="appointment" />
                <telerik:ResourceStyleMapping Type="Managers" Text="Christine Clarke"
                    BackColor="#512479" ApplyCssClass="appointment" />
                <telerik:ResourceStyleMapping Type="Managers" Text="Adam Adair"
                    BackColor="#512479" ApplyCssClass="appointment" />
            </ResourceStyles>
        </telerik:RadScheduler>
    </ContentTemplate>
</asp:UpdatePanel>
 
<asp:EntityDataSource runat="server" ID="EntityDataSource1" ConnectionString="name=aperturenetEntities"
    DefaultContainerName="aperturenetEntities" EntitySetName="Appointments" EnableDelete="true"
    EnableInsert="true" EnableUpdate="true">
</asp:EntityDataSource>
 
<asp:SqlDataSource ID="RoomsDataSource" runat="server"
    ProviderName="System.Data.SqlClient" ConnectionString="<%$ ConnectionStrings:aperturenetSql %>"
    SelectCommand="SELECT * FROM [Rooms]"></asp:SqlDataSource>
 
<asp:SqlDataSource ID="ManagersDataSource" runat="server"
    ConnectionString="<%$ ConnectionStrings:aperturenetSql %>" SelectCommand="SELECT * FROM [tblApertureNetLookUps] WHERE lookup_type='11787CA6-DE99-4E0E-83D2-7D96E0FD11A3'"></asp:SqlDataSource>

1 Answer, 1 is accepted

Sort by
0
Plamen
Telerik team
answered on 27 Apr 2016, 06:30 AM
Hi,

We are not aware of such known issue in the control. In your custom case it is most probably caused by some custom code in the code behind -most probably in the OnNavigationCommand event that is changing the default behavior of the control.

Regards,
Plamen
Telerik
Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
Tags
Scheduler
Asked by
Philip
Top achievements
Rank 1
Answers by
Plamen
Telerik team
Share this question
or