Calendar-DayCellToolTipFormat property "D"

5 posts, 0 answers
  1. HMPSOLBB
    HMPSOLBB avatar
    15 posts
    Member since:
    Mar 2012

    Posted 26 Sep Link to this post

    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

     

     

     

  2. Kostadin
    Admin
    Kostadin avatar
    1713 posts

    Posted 29 Sep Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. HMPSOLBB
    HMPSOLBB avatar
    15 posts
    Member since:
    Mar 2012

    Posted 30 Sep in reply to Kostadin Link to this post

    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.

     

     

     

     

  5. HMPSOLBB
    HMPSOLBB avatar
    15 posts
    Member since:
    Mar 2012

    Posted 04 Oct in reply to HMPSOLBB Link to this post

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

     

    regs

    Oliver

  6. Kostadin
    Admin
    Kostadin avatar
    1713 posts

    Posted 05 Oct Link to this post

    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.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017