RadDatePicker showing two date formats when not focused

14 posts, 0 answers
  1. Jerry T.
    Jerry T. avatar
    118 posts
    Member since:
    Jul 2012

    Posted 23 Feb 2012 Link to this post

    Ever since we updated to 2012 Q1 version, I'm seeing RadDatePicker controls display two date values in the input box.

    One is the properly-formatted DisplayDateFormat value and the other is the raw data in full date/time format.

    I noticed here that a default behaviour changed from FALSE to TRUE for EnableSingleInputRendering.  There appears to be a bug with this control with that value set to TRUE:
    http://demos.telerik.com/aspnet-ajax/input/examples/singleinputrendering/firstlook/defaultcs.aspx

    Attached is a screenshot where you can see the full date/time is overwriting the formatted date (in other controls that are wider, you can see both values next to each other)

  2. DonKitchen
    DonKitchen avatar
    92 posts
    Member since:
    Jul 2007

    Posted 27 Feb 2012 Link to this post

    I think I *may* be seeing something similar.

    In the Q1 2012 build my date picker fields are showing a different format at first and then correcting themselves before the page is fully done rendering.

    I've attached a screen capture video showing the behavior of my formview when I go into edit mode.

    Actually, here's a link to the video since the forum will only allow me to attach an image to this post.

    http://dl.dropbox.com/u/110813/2-27-2012%203-28-34%20PM.avi
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Milena
    Admin
    Milena avatar
    224 posts

    Posted 28 Feb 2012 Link to this post

    Hi,

    This issue is forwarded to our developers and they are investigating it. They will try to fix the problem for the next stable version - SP1, which will be released in the middle of April.

    Kind regards,
    Milena
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  5. Kuna
    Kuna avatar
    5 posts
    Member since:
    Jul 2008

    Posted 12 Mar 2012 Link to this post

    I have the same problem, both with RadDatePicker.DateInput and with standalone RadNumericTextBox, when they are in any other state than Enabled (I change the state by javascript). Obviously, there is the problem with different styles, because there was need to repair the problem e.g. with horizontal align of the values in the input field, which did not work properly in the previous version Q2 2011 SP1. This is repaired in the version Q1 2012, but the problem with two date formats occurs.
    I would recommend not to wait till the next stable version, but to provide a hot fix for this, because this is a big bug, when it is so much "visible" and the end user sees it immediately and can not read the result value...
  6. Milena
    Admin
    Milena avatar
    224 posts

    Posted 13 Mar 2012 Link to this post

    Hello,

    Our developers are working on this issue and there are already some fixes related to it in our latest internal build. They are still searching for a solution about showing the date initially in a wrong format(with full time), however the correct format should be applied when the page is fully loaded. Could you upgrade to the latest available hotfix and let me know if you have any other troubles?

    Regards,
    Milena
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  7. Ludek
    Ludek avatar
    3 posts
    Member since:
    Jul 2008

    Posted 15 Mar 2012 Link to this post

    Hi Milena,
    I used the latest internal build and some of the problems are repaired (initial text align, two date formats in the enabled/disabled standalone RadNumericTextBox), but I am still experiencing the following problem with readonly DateInput of the RadDatePicker control:
    <telerik:RadDatePicker ID="RadDatePickerDay1" runat="server" Width="220px" DatePopupButton-ToolTip="Kalender" Skin="WebBlue">
        <Calendar Skin="WebBlue" runat="server">
            <FastNavigationSettings CancelButtonCaption="Abbrechen" TodayButtonCaption="Heute" />
        </Calendar>
        <DateInput ID="DateInputDay1" runat="server" ReadOnly="true" Font-Size="11px" CssClass="text center" Skin="">
        </DateInput>
    </telerik:RadDatePicker>

    I programatically select the date and then I do this via javascript:
    el = datepicker.get_textBox();
    el.get_styles().FocusedStyle[0] +=
    'background-color: yellow; color:red;';
    el.get_styles().EnabledStyle[0] += 'background-color: yellow; color:red;';
    el.focus();

    In the DateInput there are still 2 date formats written one over the second. The states of the DateInput are in the attached images "before" and "after". The red text behind is "2012-04-22-00-00-00".

    With kind regards
    Radim Kuna
  8. Milena
    Admin
    Milena avatar
    224 posts

    Posted 19 Mar 2012 Link to this post

    Hello,

    Indeed, I have succeeded in reproducing the issue and forwarded it to our developers in order to investigate it. I will let you know when more information on this matter is available.

    All the best,
    Milena
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  9. Kuna
    Kuna avatar
    5 posts
    Member since:
    Jul 2008

    Posted 29 Mar 2012 Link to this post

    Hi,
    I downloaded and used your last internal build and the problem with disabled input is solved, so I can see there only 1 value. But I don't know why the inline style of input element has the line-height: 10000px - it makes my page very high and scrollbar appears without a reason...

    Thanks for your help.
    Kuna
  10. Milena
    Admin
    Milena avatar
    224 posts

    Posted 29 Mar 2012 Link to this post

    Hello,

    We were alerted for a such issue in IE9 when Enabled property is set to false and there is already a fix for it, which will be part of our next internal build. You can download it or wait for next stable version SP1, which will be available in the middle of April.

    Meantime, you can use the following workaround:

    ._Telerik_IE9 .riSingle
    {
            overflow:hidden;
    }


    Kind regards,
    Milena
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  11. DonKitchen
    DonKitchen avatar
    92 posts
    Member since:
    Jul 2007

    Posted 16 Apr 2012 Link to this post

    I am still having my above mentioned issue after the Q1 2012 SP1 build.  Can you offer up any advice or if this was not corrected in my situation?  Again, I have a video linked in my first post of this thread showing my problem with the formatting of the date picker not showing properly at first
  12. Milena
    Admin
    Milena avatar
    224 posts

    Posted 19 Apr 2012 Link to this post

    Hello,

    In our next official release Q2 2012 will be included a fix for this issue, meantime you can set EnableSingleInputRendering property of RadInput to false in order to prevent the unwanted behavior.

    All the best,
    Milena
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  13. CL
    CL avatar
    2 posts
    Member since:
    Dec 2008

    Posted 20 Apr 2012 Link to this post

    Hi Milena,

    I had the same issue with the datepicker or timepicker showing two date/time formats. While playing with all possible fixes, I realized that this 'bug' appears when in my css style I have a value for the color of the text and with '!important'

    This is my style
    html body form input.textbox_telerikBRTest ,
    html body form .RadInput input.textbox_telerikBRTest
    {
        /*color: #333333 !important;
        padding:1px 2px 1px 2px !important;
        border: 1px solid #bbb !important;
        padding-left:8px !important;   */
        font:normal 13px Arial !important;
        padding-left:8px !important;
        padding:1px 2px 1px 2px !important;
        border: 1px solid #bbb !important;
    }

    I also attached a sample of my findings. I hope this information help others and to correct the issue.
  14. PPSDevs
    PPSDevs avatar
    21 posts
    Member since:
    Mar 2009

    Posted 29 May 2012 Link to this post

    This issue has not been resolved in 2012 Q1 SP1. I just downloaded it last week and the date fields still show two formats.

    When is the Q2 release due to come out?

    Please let me know ASAP.

    Manjeet
  15. Milena
    Admin
    Milena avatar
    224 posts

    Posted 30 May 2012 Link to this post

    Hello,

    Q2 2012 will be released in the middle of next week(06.06).

    All the best,
    Milena
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017