Click here to Skip to main content
15,895,011 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
XML
<asp:Panel ID="_loadingPanel" BackImageUrl="../Images/Progress_Bar/download_progress_bg_gray.gif" runat="server" Style="display: none; visibility: hidden; z-index: 3; width: 506px; height: 226px;" class="unselectable">
              <table id="Table1" style="width: 506px; height: 226px;">
                  <tr style="text-align: center; font-size: 28px;">
                      <td style="padding-top: 20px;">
                          <asp:Label ID="_loadingMessage" runat="server" meta:ResourceKey="ProgressMessageLabel"></asp:Label>
                      </td>
                  </tr>
                  <tr align="center">
                      <td>
                          <img id="loading" src="../Images/pleasewait.gif" alt="Please Wait" />
                      </td>
                  </tr>
              </table>
          </asp:Panel>
Posted
Comments
Christiaan Rakowski 22-Sep-12 9:50am    
The code you posted looks fine, but it has not logic that controls it.
Please post the code that shows/hides the panel, since that is where the problem probably is.
yeshgowda 23-Sep-12 1:25am    
During page load showing this panel and hiding when able controls are loaded are loaded and during button clicks again this panel is made visible and then hiding when specific action has been completed this works fine this scenarios works fine when we do repeatedly.but during pageload the panel back ground image is visible and hidden when table controls are loaded and then if waited for few minutes then click on buttun panel background image will only be invisible.label and img tag will be visible

panel background image is visible when there is continous action on page but panel background image is not visible when we doesnt do any action on that page for few minutes.that is the question why this behaviour only in mozilla? Is that it is taking time to load panel background image? iam hiding and showing panel from javascript panelId.style.visibility = value ? 'visible' : 'hidden'; and added panel control in masterpage


This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900