Asp.Net UpdateProgress Issue

Posted on 2010-01-01
Last Modified: 2013-11-08
Dear Friends,

I have an UpdatePanel within which is a GridView with paging mode="numeric". On click of a page number the gridview is refreshed and the selected page content displayed. I am using an UpdateProgress control to show an animated gif when the process is going on.

1. The UpdateProgress displays only the first time in IE but in FireFox and Safari it works fine. In IE when page number is clicked for the first time the UpdateProgress is displayed but subsequent clicks to the anyother page the UpdateProgress is not displayed.

2. In IE though it displays the first time the UpdateProgress is displayed in the center of the screen. In FireFox and Safari the UpdateProgress is displayed on the bottom right part of the screen and partially visible.

Code file : code.txt

Question by:MadhuMenong
    LVL 15

    Expert Comment


    This is for the allignment issue. Try this change your style for updateprogress div as

    <asp:UpdateProgress ID="UpdateProgress1" runat="server" AssociatedUpdatePanelID="upSearchList">
                <div id="IMGDIV" align="center" valign="middle" runat="server" style="visibility: visible;
                 vertical-align: middle; border-style: inset;
                    border-color: black; background-color: #FFFFFF; width:50%; height:100%;">
                    <asp:Image ID="Image1" runat="server" ImageUrl="~/images/loading.gif" Width="300"
                        Height="300" />

    Author Comment

    Hi Rajesh,

    Thanks for ur help.

    I tried your change but then the UpdateProgress is displayed at the bottom after the gridview away from the user view.

    Madhu Menon
    LVL 14

    Accepted Solution

    i would recommend its better to use javascript in order to display the updating effect rather than update progress...
    like this onclick call function

    make the image div display="none"
    and then onclick"block"

    and when the update panel is loaded after async PB it the image will again go to hidden mode

    Or use Atlas Controls AjaxModalUpdateProgress

    Author Closing Comment

    The solution was provided as an hint.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Why You Should Analyze Threat Actor TTPs

    After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

    The Confluence of Individual Knowledge and the Collective Intelligence At this writing (summer 2013) the term API ( has made its way into the popular lexicon of the English language.  A few years ago, …
    Introduction A frequently asked question goes something like this:  "I am running a long process in the background and I want to alert my client when the process finishes.  How can I send a message to the browser?"  Unfortunately, the short answer …
    It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
    Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

    759 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    10 Experts available now in Live!

    Get 1:1 Help Now