Encountering bug in ActionSheet.

6 posts, 0 answers
  1. Bob
    Bob avatar
    46 posts
    Member since:
    Apr 2012

    Posted 21 Feb 2013 Link to this post

    Hello,
     
    When I click on the button to initiate an actionsheet, I'm getting the following error:

    Microsoft JScript runtime error: Unable to get value of the property 'openFor': object is null or undefined. This is happening in kendo.all.min.js.

    Here is the code:

    <script
    type="text/javascript">
         function
    GoToPrev(e) {
             alert(
    'c=' + e.context + ', t=' + e.target);
             document.forms[0].submit();
         }
    </script>

    <a
    data-role="button" data-rel="actionsheet" href="#goTo">Go To</a>

    <ul
    data-role="actionsheet" id="goTo">
         <
    li><a data-action="GoToPrev">Previous Asset</a></li>
         <
    li><a data-action="GoToNext">Next Asset</a></li>
    </
    ul>
     
    Thx...Bob Baldwin
    Trabon Solutions
    Licensed users of Telerik Devcraft Complete
  2. Petyo
    Admin
    Petyo avatar
    2439 posts

    Posted 22 Feb 2013 Link to this post

    Hello Bob,

    Kendo UI Mobile is fully functional in webkit-based browsers - given the error, you are most probably testing in IE.  

    If you still encounter the problem while testing in Chrome (or Safari, OS X), I would like to suggest that you create a sample project that demonstrates the problem - we will take a look. 

    Thank you,
    Petyo
    the Telerik team
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
  3. Kendo UI is VS 2017 Ready
  4. Bob
    Bob avatar
    46 posts
    Member since:
    Apr 2012

    Posted 01 Mar 2013 Link to this post

    Hi Petyo,

    We are encountering this issue when we link from a view with a listview widget in it to a view with an actionsheet widget in it.  This is occuring on Android(Chrome), IPad(Safari), and IE.

    I've attached an IE browser HTML source file captured just before we click the "GoTo" button to display the Actionsheet.  If you change the css and script references to point to your resource locations, the attached txt file should recreate the problem on your end even including on the android and ipad devices.

    When pressing the GoTo button within IE, the error is:
    Microsoft JScript runtime error: Unable to get value of the property 'openFor': object is null or undefined

    We are seeing similar errors within the other browsers.  Please help us resolve this issue.

    Thx...Bob Baldwin
    Trabon Solutions
  5. Bob
    Bob avatar
    46 posts
    Member since:
    Apr 2012

    Posted 01 Mar 2013 Link to this post

    We also tried this with the latest internal build (2012.3.1413) and it behaved the same and returned the same error.
  6. Petyo
    Admin
    Petyo avatar
    2439 posts

    Posted 05 Mar 2013 Link to this post

    Hi Bob,

    From what I see in the generated HTML source, it looks like you are including both kendo.all and kendo.aspnetmvc javascript source files - most probably this is the reason for the error you encounter. Please remove one of the references. 

    Kind regards,
    Petyo
    the Telerik team
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
  7. Bob
    Bob avatar
    46 posts
    Member since:
    Apr 2012

    Posted 12 Mar 2013 Link to this post

    Thank you Petyo,

    We removed the kendo.aspnetmvc javascript link and the actionsheet is now working.

    Thx...Bob Baldwin
    Trabon Group
Back to Top
Kendo UI is VS 2017 Ready