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
405
unable to load a page having webcombo control into Iframe through Ajax
posted

Hi,

  I am not able to load an iframe with html generated from ASPX page containing Infragistics webcombo control. it errors out at this line

oWebCombo1xxGrid = igtbl_initGrid("WebCombo1xxGrid" ..................

 but when I set the source of iframe to this page, then it works fine. but I can't set the source like this, because the html that is generated is dynamic (generated through xml transformed into html using xslt).

 I am using the following code to write html into iframe

        var frame = document.getElementById("iFrame");
        var doc = frame.contentWindow.document;
        doc.open();
        doc.write(xmlHttp.responseText);
        doc.close();

I think it shouldn't be any different in setting a source OR writing html dynamically into iframe like this. I tried putting a normal asp.net dropdownlist control, then it doesn't generate any error when I load iframe using the code above. it only causes problem with webcombo control.

 Please help.