I have a webform that has a button. When the button is clicked, it gathers some records from a database and is supposed to update the UI with each record pulled. But for some reason, the UI only updates when the operation completes. I've posted the markup below. I can post the code if needed.
ASP.NET Code:
<asp:UpdatePanel ID="UpdatePanel1" runat="server"> <ContentTemplate> <p> <asp:Button ID="btnStart" runat="server" Text="Start" Width="94px" /></p> <table style="width: 99%;"> <tr> <td class="style1"> <asp:CheckBox ID="chkEnableCsoThread1" runat="server" Checked="True" Text="Enable" /> </td> <td class="style2"> <asp:Label ID="Label3" runat="server" Text="Thread 1 Progress:"></asp:Label> </td> <td class="style3"> <asp:Label ID="lblThread1Progress" runat="server" Text="N/A"></asp:Label> </td> <td class="style4"> <asp:Label ID="Label1" runat="server" Text="Count:"></asp:Label> </td> <td> <asp:Label ID="lblThread1Count" runat="server" Text="0"></asp:Label> </td> </tr> </table> </ContentTemplate> </asp:UpdatePanel>




Reply With Quote