title: panel visibility does not working inside update panel
body: <p>I have an update panel which contains a label and a panel, with "visible=false" for both of them..when user clicked the report button a please wait pop up appears and after that results are shown, it works fine but when i published it the panel visibility does not working and nothing happens!!!!! here is my code:</p>
  
  <pre><code>&lt;asp:UpdatePanel&gt;
  &lt;ContentTemplate&gt;
      &lt;p&gt;&lt;asp:Label ID="Label_err" runat="server" ForeColor="Red"  Visible ="False"&gt;&lt;/asp:Label&gt;&lt;/p&gt;
      &lt;asp:Panel ID="Panel_ReportResults" runat="server"  Direction="RightToLeft" Font-Names="Tahoma" Visible="False"&gt;
      &lt;!--a table which contains a link and a link button is here--&gt;
      &lt;/asp:Panel&gt;
  &lt;/ContentTemplate&gt;
  </code></pre>
  
  <p></p>
  
  <p>and at the server side there is some code like this to handle the visibility:</p>
  
  <pre><code>if (!Error)
             {
                 log.SaveReporting();
                 Panel_ReportResults.Visible = true;
                 Label_err.Visible = false;
             }
             else
             {
                 Panel_ReportResults.Visible = false;
                 Label_err.Visible = true;
             }
  </code></pre>
  
  <p>everything works fine for the label..and also it works fine before publishing it! please help! thanks. </p>