Quantcast
Channel: ASP.NET AJAX + Ajax Control Toolkit (ACT)
Viewing all articles
Browse latest Browse all 5678

update panel issue

$
0
0

All, I have a single page web application.

The application is simple. Enter a keyed and click the button to retrieve the rest of the information in the database.

The code behind is C#. And I am trying to add a "loading" gif as the database call is made, using an update panel and update progress panel.

Here is the ScriptManager, UpdateProgress and Update Panel.

<asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager><asp:UpdateProgress ID="updProgress" AssociatedUpdatePanelID="UpdatePanel1" runat="server"><ProgressTemplate><img alt="progress" src="styles/asp_progress_indicator.gif"/>
           Processing...</ProgressTemplate></asp:UpdateProgress><asp:UpdatePanel ID="UpdatePanel1" runat="server"><ContentTemplate><asp:Button ID="button1" runat="server"  Text="Track It" CssClass="submit_button" OnClick="button1_Click" /></ContentTemplate><Triggers><asp:PostBackTrigger ControlID="button1" /></Triggers></asp:UpdatePanel>    

But, it never shows the spinning gif image.

Anybody see any problems with the above code?


Viewing all articles
Browse latest Browse all 5678

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>