I am intermittently getting this error from the grid and would like to know if anyone knows what might be causing this. I'm using the latest release of the UltraWebGrid version 8.3.20083.1009.
ERROR
msxml3.dll: The stylesheet does not contain a document element. The stylesheet may be empty, or it may not be a well-formed XML document.function igtbl_XSLTProcessor(xsltURL){ if(!xsltURL) return null; if(ig_csom.IsIE) { var xslt=ig_createActiveXFromProgIDs(["MSXML2.FreeThreadedDOMDocument","Microsoft.FreeThreadedXMLDOM"]); xslt.async=false; xslt.load(xsltURL); var xslTemplate=new ActiveXObject("MSXML2.XSLTemplate"); xslTemplate.stylesheet=xslt; // ERROR Occurs Here. this.Processor=xslTemplate.createProcessor(); } else { var xmlResp=new DOMParser(); var xmlHttp=new XMLHttpRequest(); xmlHttp.open("GET",xsltURL,false); xmlHttp.send(null); this.Processor=new XSLTProcessor(); this.Processor.importStylesheet(xmlResp.parseFromString(xmlHttp.responseText,"text/xml")); }}
FYI, there is a hotfix to download that may help. The current version number should be: 8.3.20083.2021
I believe that I can't get to the hotfixes you refer to as I am using an evaluation. I have been trying to make an evalution work because I am seriously considering purchasing the asp.net package. I continue to have strange javascript problems. I am now using the web.config file to direct the controls to get their javascript from a directory in my source. I copied the CLR 3.5 javascript directory over because there was an update to the ig_WebGrid.js in this thead;http://forums.infragistics.com/forums/p/18367/66804.aspx#66804.
It seems as if I use the local javascript directory I get different errors then if I use the default javascript files. One way or another it's not working.
Yes - that's how it should look. They must have corrected the file in the more recent versions.
Thanks for the tip. In the version I have (8.3.20083.1009) I have the following at the top of the file. Does this look ok?
<?xml version="1.0"?><!-- Infragistics UltraWebGrid Script Version 8.3.20083.1009Copyright (c) 2001-2008 Infragistics, Inc. All Rights Reserved.--><xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"><xsl:output omit-xml-declaration="yes" method="html"/>
I'm not sure about versions 8.3.x - but with older (8.1.x) versions, the ig_WebGrid.xslt file is indeed malformed. The following "comment" precedes the <?xml version="1.0"?> declaration and must be stripped off:
/** ig_WebGrid.xslt* Version 8.1.20081.1000* Copyright(c) 2001-2008 Infragistics, Inc. All Rights Reserved.*/
Hello,
I believe in cases like that it is best to contact Developer Support directly, as I am not sure this is something we are going to be able to resolve in peer-to-peer forums. Developer Support can be reached via the following link:
http://ko.infragistics.com/Support/#Overview
I also just tried using the javascript in this post (http://forums.infragistics.com/forums/p/19915/72390.aspx#72390) but I get the same error. It seems like there is something wrong with the ig_WebGrid.xslt file. I've been trying to make this work for a while now and what I really don't get is why it seems to work fine for a while and then I'll reload the page and get this error.