Rad Date Picker JScript error

4 posts, 1 answers
  1. Annette
    Annette avatar
    16 posts
    Member since:
    Dec 2010

    Posted 08 Feb 2011 Link to this post

    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>

     

  2. Answer
    Martin
    Admin
    Martin avatar
    833 posts

    Posted 11 Feb 2011 Link to this post

    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.
  3. khaled
    khaled avatar
    2 posts
    Member since:
    Aug 2011

    Posted 05 Aug 2011 Link to this post

    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!
  4. khaled
    khaled avatar
    2 posts
    Member since:
    Aug 2011

    Posted 05 Aug 2011 Link to this post

    Nevermind... false alarm. Resetting IE 8 fixed the issue.
Back to Top