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 Reply Children