Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
175
Error adding HTML 5 Grid in SharePoint web part page
posted
Actually we are trying to use Infragistic HTML 5 Grid in SharePoint 2010 web part. However including all the required JS files for the HTML 5 Grid in web part breaks the SharePoint ribbon. We are getting few javascript errors.
 Message: Sys.InvalidOperationException: 'on' is a reserved name that can't be used as an enum value name.
Line: 2320
Char: 46
Code: 0
URI: http://mdt831:1122/ScriptResource.axd?d=H-yJNDj8hWgaeO43hmQqbO14o2ZRwbP5Ftg3iDbWD0oE21xqDrguS8veXVYmttnL68NlZWjY6frZ2ejxfi6lfeD3Khi951viJ2pTYDAPTwA1&t=ffffffffec2d9970
 
 
Debugging the issue via IE developer we found that some code of the JQuery (ig.ui.min.js) clashes with SharePoint javascript. Because of this issue even the SharePoint ribbon breaks i.e. it gets disabled.
 
However the grid gets displayed properly if we are adding the Grid control directly to the plain ASPX layouts page (no SP Ribbon). 

 

Any feedback or guidance will be appreciated. Thanks.

Parents
No Data
Reply
  • 6279
    posted

    Hi,

    I've asked our Sharepoint team for assistance on this case  and they had the following questions for you:

    1. Which release and which version of our jQuery controls are you using?
    2. Have you tried using the latest Service Release for version 2012.1 or 2011.2?
    2. Does the ribbon you're using contain anything from a 3rd party or is the default one from SharePoint?

    PS: Sorry about the delay - working with SharePoint requires us to collaborate with another team and SharePoint-related issues are hard to handle as we don't have one which we can use as a bug-finding playground. 

Children