<div class="w3-row-padding w3-center w3-mobile"> <asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager> <asp:Button ID="cmdSubmit" runat="server" Text="Create Life Budget" CssClass="w3-button w3-black" Font-Bold="False" UseSubmitBehavior="False" /> <br /> <br /> <asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional"> <ContentTemplate> <asp:TextBox ID="txtProgress" runat="server" Text="300" BackColor="Transparent" BorderStyle="None" CssClass="w3-center" ReadOnly="True" Width="300px" AutoPostBack="True"></asp:TextBox> </ContentTemplate> <Triggers> <asp:AsyncPostBackTrigger ControlID="cmdSubmit" EventName="Click" /> </Triggers> </asp:UpdatePanel> </div>
Protected Sub cmdSubmit_Click(sender As Object, e As EventArgs) Handles cmdSubmit.Click Master.HideMsg() CreateLifeBudget() End Sub Protected Sub CreateLifeBudget() '< Other Code> txtProgress.Text = "Processing " & iProgress & " of " & iProgressMax UpdatePanel1.Update() txtProgress.Text = "Processing " & iProgress & " of " & iProgressMax UpdatePanel1.Update() End Sub
isPostBack
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)