RadDatePicker date display scrambled when disabled

9 posts, 0 answers
  1. Markus
    Markus avatar
    1 posts
    Member since:
    Mar 2012

    Posted 19 Mar 2012 Link to this post

    Hi there.

    I have got a display problem with RadDatePicker in IE9. I am using the Q1 2012 release. The declarative part is:

    <asp:Panel runat="server" ID="PanelTime" Visible="false" CssClass="panels">
     
    <table>
    <tr>
        <td valign="top">Erstelldatum</td>
        <td>
            <div class="timeControl"><table><tr>
                <td>
                    Zeitraum<br />
                    <telerik:RadComboBox ID="ComboBoxCreateTimeIntervall" runat="server" Skin="Office2007" Width="150"
                        OnSelectedIndexChanged="ComboBoxCreateTimeIntervall_SelectedIndexChanged" AutoPostBack="true" />
                </td>
                <td>
                    Beginn<br />
                    <telerik:raddatepicker ID="DatePickerCreateTimeBegin" Runat="server" Skin="Office2007" Width="120"
                        Calendar-FastNavigationStep="12" Calendar-DayNameFormat="FirstTwoLetters" Calendar-CultureInfo="de-DE"
                        DateInput-MaxLength="10" DateInput-DateFormat="dd.MM.yyyy" >
                        <DatePopupButton ImageUrl="~/images/btn_off_Cal.gif" HoverImageUrl="~/images/btn_on_Cal.gif"/>
                    </telerik:raddatepicker>
                </td>
                <td>
                    Ende<br />
                    <telerik:raddatepicker ID="DatePickerCreateTimeEnd" Runat="server" Skin="Office2007" Width="120"
                        Calendar-FastNavigationStep="12">
                        <DatePopupButton ImageUrl="~/images/btn_off_Cal.gif" HoverImageUrl="~/images/btn_on_Cal.gif"/>
                    </telerik:raddatepicker>
                </td>
            </tr></table></div>
        </td>
    </tr>
    When setting the SelectedDate and Enabled=false the Page reload and displays the date in default format as well as the defined DisplayDateFormat atop overlaying (cf. attachment 1).
    This only occurs when the page is displaid inside an IFrame in IE9 default mode (in compatibility mode it's OK but the widht is ignored).
    Another issue is that the defined width is ignored once the page is reloaded in IE 8. (cf. attachment 2).

    As stated above the pages are loaded inside an IFrame. The IFrame resides on an embedded page of Microsoft Dynamics CRM 4.0 - maybe that's another point you need to know.

    Can you give advice who we could get the display corrected in our environment?

    Kind regards,
    Markus


  2. Vasil
    Admin
    Vasil avatar
    1547 posts

    Posted 21 Mar 2012 Link to this post

    Hello Markus,

    Upgrade to the latest internal build and write us if you have any issues.

    All the best,
    Vasil
    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Jun
    Jun avatar
    47 posts
    Member since:
    Sep 2006

    Posted 25 Mar 2012 Link to this post

    Have almost the same issue. But in my case, it is the width problem. I applied the latest internal build, but  the raddatepicker control is still not showing the correct width that is set in the raddatepicker property width. For example even if the width is set to 100px, the control displays more width than 100px. This only happens when it is disabled. I am using ie8 and ie9.

    This problem was not an issue in Q1 Jan 2012 release.

    Thanks,

    Jun
  5. Vasil
    Admin
    Vasil avatar
    1547 posts

    Posted 26 Mar 2012 Link to this post

    Hello Jun,

    I have tested this code:
    <telerik:RadDatePicker ID="DatePickerCreateTimeEnd" SelectedDate="2010/10/10" runat="server" Width="60px" Enabled="false">
    </telerik:RadDatePicker>
    In IE8 and IE9 using the latest published hotfix and the input has proper width in both of them. What is different in your scenario? Do you use some custom styles?

    Kind regards,
    Vasil
    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.
  6. Cornelia
    Cornelia avatar
    1 posts
    Member since:
    Jul 2007

    Posted 26 Mar 2012 Link to this post

    With the latest internal Build the control displays correctly.
    Is this build stable for a production environment?

    Kind regards
    Markus
  7. Vasil
    Admin
    Vasil avatar
    1547 posts

    Posted 26 Mar 2012 Link to this post

    Hello Markus,

    Even if we run our tests regularly it would be best to wait for the official Service Pack in the middle of April and use it for the production server.

    Kind regards,
    Vasil
    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.
  8. Jun
    Jun avatar
    47 posts
    Member since:
    Sep 2006

    Posted 26 Mar 2012 Link to this post

    We have enabled the compatibility mode to ie7. It seems like the width is broken in ie7. Please check.

    Thanks,

    Jun
  9. Vasil
    Admin
    Vasil avatar
    1547 posts

    Posted 27 Mar 2012 Link to this post

    Hello Jun,

    We double check the same code in compatibility mode to IE7 and the width is still properly shown with the latest internal build. Do you use some other styling in your page? Could you insulate the problem in sample web page and share it with us?

    Kind regards,
    Vasil
    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.
  10. Jun
    Jun avatar
    47 posts
    Member since:
    Sep 2006

    Posted 27 Mar 2012 Link to this post

    Hello,

    I submitted a support ticket on this one. Please check.

    Thanks,

    Jun
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017