This is a migrated thread and some comments may be shown as answers.
ShowOtherMonthsDays with FocusedDate problem
5 Answers 37 Views
This is a migrated thread and some comments may be shown as answers.
Eric
Top achievements
Rank 1
Eric asked on 02 Mar 2011, 10:46 AM
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...

5 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 1
answered on 02 Mar 2011, 11:36 AM
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.
0
Eric
Top achievements
Rank 1
answered on 02 Mar 2011, 01:34 PM
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...
0
Maria Ilieva
Telerik team
answered on 07 Mar 2011, 01:56 PM
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!
0
Accepted
Maria Ilieva
Telerik team
answered on 07 Mar 2011, 01:57 PM
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!
0
Eric
Top achievements
Rank 1
answered on 08 Mar 2011, 02:08 PM
Hi,

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

Thank you...
Asked by
Eric
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 1
Eric
Top achievements
Rank 1
Maria Ilieva
Telerik team
Share this question
or