Symptoms
Smart Form Web part is not loading - IE 10
Diagnoses
After upgrading to 4.6.9, forms no longer load in IE10 (endless spinning) when attempting to view it from a Smartforms Viewer webpart added to a Sharepoint page.
It does loads in IE10 when browsing directly to the RuntimeRuntime link.
It also loads in the Smartforms Viewer webpart if browsing to Sharepoint using Chrome.
If the form is not loading, you may see the following error in IE10 Developer Tools > Console:
SCRIPT438: Object doesn't support property or method 'addEventListener'
SCRIPT5007: The value of the property 'jQuery' is null or undefiend, not a Function object
Resolution
The following behavior occurs because starting with 4.6.9, Internet Explorer 8 is no longer supported by Smartforms.
The default master page in SharePoint sets the Document Mode in IE to "IE8 Standards", regardless of the version of IE being used which results in the form attempting to load in IE8 Mode.
To workaround the issue when using IE9 or later, the appropriate master page in SharePoint must be updated as follows:
1. In SharePoint, navigate to the Site Settings > Galleries > Master Page Gallery
2. Edit the v4.MASTER (or master page being used) in the SharePoint Designer
3. Open the master page's code, and change the following from:
<meta http-equiv="X-UA-Compatible" content="IE=8"/>
To:
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
4. Save the page and reload.
If this change should affect other Sharepoint Features, one of the following options will need to be used instead:
1. Create a new master page to host the K2 smartforms that sets the following header:
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
2. Create links for the K2 smartforms pages so they launch directly in the runtime rather than within the SharePoint page.