Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6976251
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T17:28:21+00:00 2026-05-27T17:28:21+00:00

Update progress not working.The code is given below,When i am clicking on any button

  • 0

Update progress not working.The code is given below,When i am clicking on any button in the grid(paging,filtering etc) the progress is working.But when i am clicking on the image button the progress not working.

<asp:UpdateProgress ID="UpdateProgress1" runat="server" AssociatedUpdatePanelID="upnlStockList"
        DisplayAfter="0" DynamicLayout="true">
        <ProgressTemplate>
            <div class="PopupPanel">
                <table style="vertical-align: middle; width: 100%; height: 900px">
                    <tr>
                        <td valign="middle" align="center">
                            <img id="Img1" src="~/Images/loading.gif" runat="server" />
                        </td>
                    </tr>
                </table>
            </div>
        </ProgressTemplate>
    </asp:UpdateProgress>
<asp:UpdatePanel ID="upnlStockList" runat="server" ChildrenAsTriggers="true" UpdateMode="Always">
        <ContentTemplate>
            <grid></grid>
        </ContentTemplate>
        <Triggers>
            <asp:PostBackTrigger ControlID="imgPDF" />
            <asp:PostBackTrigger ControlID="imgExcel" />
            <asp:PostBackTrigger ControlID="imgCSV" />
        </Triggers>
    </asp:UpdatePanel>
    protected void imgExcel_Click(object sender, ImageClickEventArgs e)
     {
            (initializing the report and assigning parameter).
            ReportProcessor reportProcessor = new ReportProcessor();
            RenderingResult result = reportProcessor.RenderReport(PDF, rptStockList, null);
            string fileName = result.DocumentName + ".pdf";
            Response.Clear();
            Response.ContentType = result.MimeType;
            Response.Cache.SetCacheability(HttpCacheability.Private);
            Response.Expires = -1;
            Response.Buffer = true;
            Response.AddHeader("Content-Disposition", string.Format("{0};FileName=\"{1}\"", "attachment", fileName));
            Response.BinaryWrite(result.DocumentBytes);
            Response.End();
     }
<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>

script manager in master page
By clicking the image button i am downloading the report as pdf.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T17:28:21+00:00Added an answer on May 27, 2026 at 5:28 pm
    <asp:AsyncPostBackTrigger>
    

    The AsyncPostBackTrigger Specifies a control and event that will cause a partial page update for the UpdatePanel that contains this trigger reference.

    <asp:PostBackTrigger>
    

    The PostBackTrigger Specifies a control and event that will cause a full page update (a full page refresh). This tag can be used to force a full refresh when a control would otherwise trigger partial rendering.

    So try to use like this.

    <asp:AsyncPostBackTrigger ControlID="imgPDF" />
    <asp:AsyncPostBackTrigger ControlID="imgExcel" />  
    <asp:AsyncPostBackTrigger ControlID="imgCSV" /> 
    

    Hope this may helpful…

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using the below code to update my progress bar. ProgressBar.Visible = true;
Update: Solved, with code I got it working, see my answer below for the
I'm trying to display an update progress loading image whenever my update panel does
Alternatively is it possible to manually update the built in progress bar? Basically I
I have the following code: $updateCode = mysql_query(UPDATE pages SET pageCode='$code' WHERE id='$userID' AND
I want to display a progress bar while doing some work, but that would
First off I've been working with Java's Concurrency package quite a bit lately but
How can we update a progress bar in ListView. When each progress bar is
I'm trying to update the progressbar which is integrated in my notification bar but
I Have the below Asp.net Code: the problem is that When Timer Tick Every

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.