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

RadDatePicker date display scrambled when disabled

8 Answers 211 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
Markus
Top achievements
Rank 1
Markus asked on 19 Mar 2012, 11:35 AM
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


8 Answers, 1 is accepted

Sort by
0
Vasil
Telerik team
answered on 21 Mar 2012, 12:19 PM
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.
0
Jun
Top achievements
Rank 1
answered on 26 Mar 2012, 03:52 AM
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
0
Vasil
Telerik team
answered on 26 Mar 2012, 11:12 AM
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.
0
Cornelia
Top achievements
Rank 1
answered on 26 Mar 2012, 11:35 AM
With the latest internal Build the control displays correctly.
Is this build stable for a production environment?

Kind regards
Markus
0
Vasil
Telerik team
answered on 26 Mar 2012, 11:48 AM
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.
0
Jun
Top achievements
Rank 1
answered on 26 Mar 2012, 03:49 PM
We have enabled the compatibility mode to ie7. It seems like the width is broken in ie7. Please check.

Thanks,

Jun
0
Vasil
Telerik team
answered on 27 Mar 2012, 01:56 PM
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.
0
Jun
Top achievements
Rank 1
answered on 27 Mar 2012, 02:16 PM
Hello,

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

Thanks,

Jun
Tags
Calendar
Asked by
Markus
Top achievements
Rank 1
Answers by
Vasil
Telerik team
Jun
Top achievements
Rank 1
Cornelia
Top achievements
Rank 1
Share this question
or