ShowOtherMonthsDays with FocusedDate problem

6 posts, 1 answers
  1. Eric
    Eric avatar
    24 posts
    Member since:
    Jan 2008

    Posted 02 Mar 2011 Link to this post

    Hi,

    I am trying to change the month displayed with a button click in code-behind.

    <telerik:RadCalendar ID="RadCalendar1" runat="server" ShowOtherMonthsDays="false"></telerik:RadCalendar> <br />
    <asp:LinkButton ID="LinkButton1" runat="server" onclick="LinkButton1_Click">Prev</asp:LinkButton>  <br />
    <asp:LinkButton ID="LinkButton2" runat="server" onclick="LinkButton2_Click">Next</asp:LinkButton>
    protected void LinkButton1_Click(object sender, EventArgs e)
    {
        RadCalendar1.FocusedDate = RadCalendar1.FocusedDate.AddMonths(-1);
    }
     
    protected void LinkButton2_Click(object sender, EventArgs e)
    {
        RadCalendar1.FocusedDate = RadCalendar1.FocusedDate.AddMonths(1);
    }

    When I go back to February 2011 from March 2011 I can only see days from March 2011 although Focused Date is a date from February 2011.

    Thank you...
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 02 Mar 2011 Link to this post

    Hello Eric,

    I have also faced the same issue when tried with the older version (2010, 3, 1215, 20). So you can solve this issue by upgrading to the latest version of RadControls .

    The following kb article should provide you with the instructions on how to upgrade Telerik's RadControls for ASP.NET AJAX to another version or license:
    Updating RadControls for ASP.NET to another version or license

    Thanks,
    Shinu.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Eric
    Eric avatar
    24 posts
    Member since:
    Jan 2008

    Posted 02 Mar 2011 Link to this post

    Hi Shinu,

    I am already using the latest version of Telerik (2010.3.1317.40). It's the .NET 4.0 version. I am not seeing a newer version in downloads section.

    Thank you...
  5. Maria Ilieva
    Admin
    Maria Ilieva avatar
    4017 posts

    Posted 07 Mar 2011 Link to this post

    Hi Eric,

    Please review the answer provided in the official support ticket you have opened with us.


    All the best,
    Maria Ilieva
    the Telerik team

    Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
  6. Answer
    Maria Ilieva
    Admin
    Maria Ilieva avatar
    4017 posts

    Posted 07 Mar 2011 Link to this post

    Hi Eric,

    Please review the answer provided in the official support ticket you have opened with us.


    All the best,
    Maria Ilieva
    the Telerik team

    Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
  7. Eric
    Eric avatar
    24 posts
    Member since:
    Jan 2008

    Posted 08 Mar 2011 Link to this post

    Hi,

    If anyone is having the same problem this is a bug and will be fixed in the next releases.

    Thank you...
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017