title: Trying to get update progressbar with file upload control on button click?
body: <p>I have placed fileupload and asp button in update panel and update progress bar, now my problem is i am unable to get update progressbar on button click , my code is</p>
  
  <pre><code> &lt;asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server"&gt;
      &lt;/asp:ToolkitScriptManager&gt;
      &lt;asp:UpdatePanel ID="up1" runat="server"&gt;
      &lt;Triggers&gt;
          &lt;asp:PostBackTrigger ControlID="btnSubmit" /&gt;
      &lt;/Triggers&gt;
          &lt;ContentTemplate&gt;
              &lt;div class="bodytext" style="height: 480px; width: 830px;"&gt;
                  &lt;table style="width: 600px" align="center"&gt;
                      &lt;tr&gt;
                          &lt;td class="style2"&gt;
                              &lt;br /&gt;
                              File Attachment
                          &lt;/td&gt;
                          &lt;td&gt;
                              &lt;br /&gt;
                              &lt;asp:FileUpload ID="fluattach" runat="server" ClientIDMode="Static" /&gt;
                          &lt;/td&gt;
                          &lt;td&gt;
                          &lt;/td&gt;
                      &lt;/tr&gt;
                      &lt;tr&gt;
                          &lt;td class="style2"&gt;
                          &lt;/td&gt;
                          &lt;td&gt;
                          &lt;/td&gt;
                          &lt;td&gt;
                              &lt;span class="art-button-wrapper"&gt;&lt;span class="l"&gt;&lt;/span&gt;&lt;span class="r"&gt;&lt;/span&gt;
                                  &lt;asp:Button ID="btnSubmit" runat="server" Text="Submit" CssClass="art-button" ClientIDMode="Static"
                                      OnClick="btnSubmit_Click" /&gt;
                              &lt;/span&gt;
                          &lt;/td&gt;
                      &lt;/tr&gt;
  &lt;/table&gt;
              &lt;/div&gt;
          &lt;/ContentTemplate&gt;
      &lt;/asp:UpdatePanel&gt;
      &lt;asp:UpdateProgress ID="UpdateProgress1" runat="server" AssociatedUpdatePanelID="up1"
          DynamicLayout="true"&gt;
          &lt;ProgressTemplate&gt;
              &lt;div id="progressBackgroundFilter"&gt;
              &lt;/div&gt;
              &lt;div id="Progressbar" class="Progressbar" align="center" valign="middle" runat="server"&gt;
                  &lt;asp:Image ID="Image1" Width="75" Height="95" runat="server" ImageUrl="~/images/animation_processing.gif" /&gt;
              &lt;/div&gt;
          &lt;/ProgressTemplate&gt;
      &lt;/asp:UpdateProgress&gt;
  </code></pre>
  
  <p><strong>i wrote that code it is working fine but unable to see the progressbar in saving time and send the mail, i can remove the trigger progressbar is wroking in save time but sending mail (fileupload HAS returns the false) so no attachment added, i have working both functionalaties, how it possible</strong>
  please help me as quick as possible....</p>
  
  <p>thank u
  hmk</p>