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

Rad Date Picker JScript error

3 Answers 71 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
Annette
Top achievements
Rank 1
Annette asked on 08 Feb 2011, 02:33 PM
I have a the rad date picker that is giving the following error on IE8 when clicking on the calendar for the date picker:
Microsoft JScript runtime error: 'iframeShim.style' is null or not an object

It's happening on this line of code:

}d.iframeShim.style.top=(RadHelperUtils.IsDefined(c))?(c+"px"):d.style.top;

Here is my aspx code:

 

<div class="labels"><asp:Label ID="lblStartDate" runat="server" Text="Start Date:"></asp:Label></div>

 

 

<div class="textlabel"><telerik:RadDatePicker ID="dtStartDate" runat="server" Skin="DMID" EnableEmbeddedSkins="false"

 

 

OnSelectedDateChanged="dtStartDate_SelectedDateChanged" AutoPostBack="True" ToolTip="start date">

 

 

<Calendar UseRowHeadersAsSelectors="False" UseColumnHeadersAsSelectors="False" ViewSelectorText="x"

 

 

Skin="DMID" EnableEmbeddedSkins="False">

 

 

</Calendar>

 

 

<DatePopupButton ImageUrl="" HoverImageUrl=""></DatePopupButton>

 

 

<DateInput DisplayDateFormat="MM/dd/yyyy" DateFormat="MM/dd/yyyy" EnableEmbeddedSkins="False"

 

 

AutoPostBack="True">

 

 

</DateInput>

 

 

</telerik:RadDatePicker>

 

 

<asp:RequiredFieldValidator ID="rfvStartDate" runat="server" ControlToValidate="dtStartDate"

 

 

ErrorMessage="<label for='dtStartDate'>Start Date</label>" Text="*" Display="Dynamic"

 

 

ValidationGroup="vRequired"></asp:RequiredFieldValidator>

 

 

</div>

 

 

<div class="labels">

 

 

<asp:Label ID="lblEndDate" runat="server" Text="End Date:"></asp:Label>

 

 

</div>

 

 

<div class="textlabel">

 

 

<telerik:RadDatePicker ID="dtEndDate" runat="server" Skin="DMID" EnableEmbeddedSkins="false">

 

 

</telerik:RadDatePicker>

 

 

<asp:RequiredFieldValidator ID="rfvEndDate" runat="server" ControlToValidate="dtEndDate"

 

 

ErrorMessage="<label for='dtEndDate'>End Date</label>" Text="*" Display="Dynamic"

 

 

ValidationGroup="vRequired"></asp:RequiredFieldValidator>

 

 

</div>

 

3 Answers, 1 is accepted

Sort by
0
Accepted
Martin
Telerik team
answered on 11 Feb 2011, 04:08 PM
Hello Annette,

I have tried to reproduce the issue locally but without success. Attached is a small sample the works as expected on my side. Please give it a try and let me know how it goes on your side.

Kind regards,
Martin
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
0
khaled
Top achievements
Rank 1
answered on 05 Aug 2011, 03:09 PM
I had the same issue and sorry to say that your zipped folder didn't fix my problem.
I am running windows 7 VS 2010 and IE 8. Can you try using this enviornment and if works send us your updated dll is possible?

Thank you!
0
khaled
Top achievements
Rank 1
answered on 05 Aug 2011, 03:50 PM
Nevermind... false alarm. Resetting IE 8 fixed the issue.
Tags
Calendar
Asked by
Annette
Top achievements
Rank 1
Answers by
Martin
Telerik team
khaled
Top achievements
Rank 1
Share this question
or