Update panel with IFRAME

krsh24

Active member
Joined
Sep 16, 2006
Messages
25
Programming Experience
3-5
Hi,

I have a web page where i have an update panel and inside the update panel i have an IFRAME. i display some buttons into the a page say report.aspx and assign to the src attribute of the IFRAME. The code below

VB.NET:
<div id = 'contentCen'>
     <asp:UpdatePanel ID="uPnlChart" runat="server" UpdateMode="Conditional" >
                    <ContentTemplate>
       <iframe ID="pnlContent" runat="server" frameborder ="0"  scrolling="no" style="z-index:-200; position: absolute"   >   
            
        </iframe> 
        <asp:UpdateProgress ID="progress1" runat="server" DisplayAfter="100">
          <ProgressTemplate>                        
          <div class="cat1" >
          <img src="Images/indicator.gif" />                                
          </div>                        
          </ProgressTemplate>
          </asp:UpdateProgress>
          </ContentTemplate>
     </asp:UpdatePanel>          
     </div>

The code works fine in IE. But i cannot click on any of the buttons displayed in IFRAME on firefox and chrome. But the buttons are enabled. Is there any weird behaviour when IFRAME is enclosed inside Updatepanel?

Please suggest.

Thank You
Krish
 
The UpdateProgress shows the progress of any UpdatePanel in your page, and in fact UpdateProgress doesn't have to be placed within the ContentTemplate.
 
Back
Top