0 Replies Latest reply: Mar 23, 2010 6:03 PM by jims.nmwco.com RSS

    ASP.NET tabpanels & iframes

    jims.nmwco.com

      Want to host QVW documents in iFrames in our ASP.NET application. When I try and have iframe in multiple tabpanels of an Ajaxtoolkit tabcontainer the iframe in tab1 is populated correctly with the QVW, but the iframe in tab2 is not populated correctly. IE and firefox behave the same. All the charts in tab2 are blank. When I run in my VS 2008 development environment debugger pops up with "An unhandled exception ('Script Breakpoint') occurred in iexplorer.exe [6444]. And at that point I can't connect with the debugger. See to get this breakpoint debugger message once for each chart in the tab2 iframe QVW.

       

      Code below:

       

      <body>
      <form id="form1" runat="server">
      <div>
      <asp:ScriptManager runat="server" ID="scriptm"></asp:ScriptManager>

      <ajaxtoolkit:TabContainer ID="TabContainer1" runat="server">

      <ajaxtoolkit:TabPanel ID="tab1" runat="server" HeaderText="Tab1" >
      <ContentTemplate>
      <iframe id="qvIframe2" runat="server"
      src="http://localhost/QvAJAXZfc/AccessPoint.aspx?open=&id=01document.qvw&client=Ajax"
      width="100%" height="600">
      </iframe>
      </ContentTemplate>

      </ajaxtoolkit:TabPanel>
      <ajaxtoolkit:TabPanel ID="tab2" runat="server" HeaderText="Tab2" >
      <ContentTemplate>
      <iframe id="qvIframe3" runat="server"
      src="http://localhost/QvAJAXZfc/AccessPoint.aspx?open=&id=02document.qvw&client=Ajax"
      width="100%" height="600">
      </iframe>
      </ContentTemplate>


      </ajaxtoolkit:TabPanel>

      </ajaxtoolkit:TabContainer>

      </div>
      </form>
      </body>