RadScheduler Navigation Calendar Not Working

3 posts, 0 answers
  1. rjb227s
    rjb227s avatar
    17 posts
    Member since:
    Apr 2009

    Posted 07 Jan 2010 Link to this post


    I've used the Rad Scheduler for a while now the navigation popup calendar is not causing the date of the scheduler to change.  I believe this began shortly after changing to the 2009Q3 release.

    Anything you can do to help is greatly appreciated.

    Key Points:
    1. Data Binding: The data is bound to the scheduler on the server side code where data is retrieved from the database and looped through to create a list<appointment> of appointment objects.
    2. Navigation Arrows:  These were not working either, but after we made the setting of the startdate, enddate, and timezone offset be in an If(!IsPostback) block, the arrows now work (not the calendar)
    3. The control has been placed on a page with no other controls and the problem persists

    Below is the client code:

    <pro:RadAjaxManager ID="RadAjaxManager1" EnableAJAX="true" runat="server" OnAjaxRequest="RadAjaxManager1_AjaxRequest"
            <pro:AjaxSetting AjaxControlID="CalendarRadScheduler"
                    <telerik:AjaxUpdatedControl ControlID="CalendarRadScheduler" LoadingPanelID="RadAjaxLoadingPanel1" /> 
    <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel2" runat="server" /> 
                HoursPanelTimeFormat="h:mm tt"  
                        <%# FormatCalendarMessage() %> 
                        <span style="text-align:right; vertical-align:top; width:100%;"
                         <asp:ImageButton Enabled="true" Visible="false" ID="ibtnEdit" runat="server" CommandName="EditMessage" 
                                    ToolTip="Edit" AlternateText="Edit" CausesValidation="false" CssClass="linkButton" 
                                    ImageUrl="~/images/edit.gif" OnClientClick="ChangeImg(this.id, 'loading');" /> 
                        <asp:ImageButton Enabled="true" Visible="false" ID="ibtnCopy" runat="server" CommandName="CopyMessage" 
                                    ToolTip="Create Copy" AlternateText="Create Copy" CausesValidation="false" CssClass="linkButton" 
                                    ImageUrl="~/images/copy.gif" OnClientClick="ChangeImg(this.id, 'loading');" /> 

  2. Peter
    Peter avatar
    6637 posts

    Posted 11 Jan 2010 Link to this post

    Hello Ryan,

    Thank you for contacting us.

    We cannot reproduce this problem locally. Attached is a sample we used to test the case. Can you modify it or send us your own project to replicate the problem?

    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. rjb227s
    rjb227s avatar
    17 posts
    Member since:
    Apr 2009

    Posted 18 Jan 2010 Link to this post

    I solved this one:

    Issue:  I was binding the scheduler and setting the SelectedDate in the Page_Load() method.  This should instead be in the On_Init() method.  By moving the server-side binding to this location, I am no longer resetting the SelectedDate at the incorrect step in the order of operations.

Back to Top