Back and Next Buttons not updating calendar view.

2 posts, 0 answers
  1. Philip
    Philip avatar
    69 posts
    Member since:
    Mar 2016

    Posted 25 Apr Link to this post

    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>

  2. Plamen
    Admin
    Plamen avatar
    2734 posts

    Posted 27 Apr Link to this post

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