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
210
Unknown error for Webpanel in IE
posted

I'm using Infragistics Web Panel in my application. It was working perfectly. I had made some changes to the image folder. Suddenly it started throwing error, which I am not able to understand. the application is not displaying in IE browser but working perfectly in Mozilla Firefox. While started executing it is adding the page WebResource.axd and add the following code:

ig_WebPanel.prototype._getCurrentStyle=function(elem){

var style = elem.currentStyle;

if(style == null){

var w = document.defaultView;

if(w == null)

w = window;

if(w.getComputedStyle)

style = w.getComputedStyle(elem, '');

}

return style;

}

I have not written the above function, but automatically creating, I suppose. While it reaches line 2, it is giving the error, 'current style is null or not an object'. This error is not appearing in Firefox and working properly.

While on the second time executing, it is adding another line as follows:

var ctl00MainContentSidePanel1WebPanel1AdvancedSearchCtl1wpCurrentSearch=ig_CreateWebPanel("ctl00MainContentSidePanel1WebPanel1AdvancedSearchCtl1wpCurrentSearch",ctl00MainContentSidePanel1WebPanel1AdvancedSearchCtl1wpCurrentSearch_props);

with the above error message. Not able to understand clearly what it is? Could anybody please help?

Thanks in advance.