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

DatePicker not allowing months with 30 days to be picked on the 31 st of the month

1 Answer 86 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
CHRISTINA ONG
Top achievements
Rank 1
CHRISTINA ONG asked on 01 Apr 2009, 09:20 AM
Hi All,

We found the issue with the Rad control not able to pick up any dates of a month with 30 days when the current date is 31 st of the month.

While trying to find a solution/workaround for the same found the suggestion to upgrade to the latest version of the rad controls.Followed the steps suggested in the LINK,  But now the issue is that the project does not get compiled as there seems to be confilct with the chart controls.And while trying to find a solution, found that steps in the link and link2.Implemented the steps for ensuring the the reference to the charting dll is set to the latest 'Telerik.Web.UI.dll' with the below mentioned expections.

1.There is no existing 'Telerik.Charting' either in the bin folder or the GAC.
2.There is no existing assmebly reference to the 'Telerik.Charting' in the web.config.
3.The code behind referes to the namespce as 'ByRef RadChart1 As Telerik.WebControls.RadChart' and as 'RadChart1.YAxis.AddRange'.

The project does not compile still and so cannot see if the initial problem of the datepicker not being able to pick up the any date on the 31 st of the month is fixed.

Please suggest if any thing is missed out or if there is a workaround to resolve the issue.

Thanks,
Arun

1 Answer, 1 is accepted

Sort by
0
Georgi Krustev
Telerik team
answered on 06 Apr 2009, 11:37 AM
Hello Arun,

In the newer version of the RadControls the Telerik.Charting assembly is merged into the Telerik.Web.UI.dll. To use correctly Charting namespace you should register it in the mark-up code. Here is a code snippet showing how to achieve this:
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Charting" TagPrefix="telerik" %> 

To avoid third error, you should use the Telerik.Web.UI namespace instead of the Telerik.WebControls. Below is a code excerpts which describes the suggested approach:
Dim chart As New Telerik.Web.UI.RadChart() 
For further information about RadControls namespaces please this online help section.

In connection with your first question:
May I ask you to test whether this erratic behavior is exhibited in our live demos or provide a live URL where the issue can be observed? Thus I will do everything possible to assist you in resolving it.

Best regards,
Georgi Krustev
the Telerik team

Check out Telerik Trainer , the state of the art learning tool for Telerik products.
Tags
Calendar
Asked by
CHRISTINA ONG
Top achievements
Rank 1
Answers by
Georgi Krustev
Telerik team
Share this question
or