Note that there are some explanatory texts on larger screens.

plurals
  1. POUpdateProgress Control
    text
    copied!<p>I have an asp.net page which does most of the work in the c# code-behind. I am using update panels and would like to set an UpdateProgress control to display a PleaseWait.gif image while processing is happening... The processing is initiated by pressing the 'select' link button on a GridView. I am having trouble getting the UpdateProgress to display.. My question is: how should I wire-up the UpdateProgress to display on this 'select' button press?</p> <p>(Any Idea why this isnt working...) CODE:</p> <pre><code>asp:UpdateProgress ID="UpdateProgress1" runat="server" AssociatedUpdatePanelID="SelectCarUP" DisplayAfter="10"&gt; &lt;ProgressTemplate&gt; &lt;asp:Image src="~/App_Themes/defaultCSU/PleaseWait.gif" ID="PleaseWait" runat="server" /&gt; &lt;/ProgressTemplate&gt; &lt;/asp:UpdateProgress&gt; &lt;asp:UpdatePanel ID="SelectCarUP" runat="server" UpdateMode="Conditional"&gt; &lt;ContentTemplate&gt; &lt;asp:GridView ID="VehiclesGridView" runat="server" AllowPaging="True" AllowSorting="True" DataSourceID="VehiclesEDS" AutoGenerateColumns="False" onselectedindexchanged="VehiclesGridView_SelectedIndexChanged" BackColor="White" BorderColor="#999999" BorderStyle="None" BorderWidth="1px" CellPadding="3" GridLines="Vertical" ShowHeaderWhenEmpty="True"&gt; &lt;AlternatingRowStyle BackColor="#DCDCDC" /&gt; &lt;Columns&gt; &lt;asp:TemplateField ShowHeader="False"&gt; &lt;ItemTemplate&gt; &lt;asp:LinkButton ID="GVSelectButton" runat="server" CausesValidation="False" CommandName="Select" Text="Select" /&gt; &lt;/ItemTemplate&gt; &lt;/asp:TemplateField&gt; .......... </code></pre>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload