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

Calendar-DayCellToolTipFormat property "D"

4 Answers 25 Views
DatePicker
This is a migrated thread and some comments may be shown as answers.
HMPSOLBB
Top achievements
Rank 1
HMPSOLBB asked on 26 Sep 2016, 02:11 PM

Dear Telerik,

we have a problem with RadDatePicker control - "Calendar-DayCellToolTipFormat" format string does not working properly.

Please find attached screenshots.

P.S.:

While testing used "Telerik.Web.UI.dll" version: 2016.3.914.45

 

 

 

4 Answers, 1 is accepted

Sort by
0
Kostadin
Telerik team
answered on 29 Sep 2016, 07:57 AM
Hi Oliver,

I am not sure what format you have set but I try using D to display a long date patter and on my side seems to work correctly. Could you please try using the following control configuration and let me know about the result. 
<telerik:RadDatePicker ID="RadDatePicker1" runat="server">
    <Calendar DayCellToolTipFormat="D"></Calendar>
</telerik:RadDatePicker>

Regards,
Kostadin
Telerik by Progress
Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
0
HMPSOLBB
Top achievements
Rank 1
answered on 30 Sep 2016, 11:47 AM

Dears,

 

but the "D" doesn't work.

 

Here's the aspx Code:

<telerik:RadDatePicker runat="server" ID="RadDatePicker1">
 
      <Calendar runat="server" DayCellToolTipFormat="D"></Calendar>
 
</telerik:RadDatePicker>

 

And that´s the code behind:

 

protected override void InitializeCulture()
{
       Thread.CurrentThread.CurrentCulture = new CultureInfo("de-DE", false);
       Thread.CurrentThread.CurrentUICulture = new CultureInfo("de-DE", false);
}
 
protected void Page_Load(object sender, EventArgs e)
{
       if (!IsPostBack)
       {
             RadDatePicker1.SelectedDate = DateTime.Today.AddDays(33);
       }
}

We think the line

RadDatePicker1.SelectedDate = DateTime.Today.AddDays(33);

is the Problem. If you use the code you will get the result placed in the screenshot Image file.

 

 

 

 

0
HMPSOLBB
Top achievements
Rank 1
answered on 04 Oct 2016, 10:47 AM

Any news for me? Do I have to create a Support ticket?

 

regs

Oliver

0
Kostadin
Telerik team
answered on 05 Oct 2016, 08:05 AM
Hello Oliver,

I am afraid this is a bug and it appears when you either select a date which is not from the current month or when you navigate to another month. I forward the issue to one of our developer for further investigation and you can track the progress in our Ideas&Feedback portal.

Please excuse us for any inconvenience this might have caused you.

Regards,
Kostadin
Telerik by Progress
Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
Tags
DatePicker
Asked by
HMPSOLBB
Top achievements
Rank 1
Answers by
Kostadin
Telerik team
HMPSOLBB
Top achievements
Rank 1
Share this question
or