<asp:ScriptManager ID="scmanager" runat="server"> </asp:ScriptManager> <asp:UpdateProgress ID="UpdateProgress1" AssociatedUpdatePanelID="UpdatePanel1" DynamicLayout="true" runat="server"><ProgressTemplate><div style="color: Red; position: absolute; font-size:medium; top: 10px; top: 10%;left:80px;border:1px solid#000000;height:100px;width:200px;background-color:#F5E5F0;"><img src="IMAGES/indicator-new.gif" alt="" />Please wait ...</div></ProgressTemplate></asp:UpdateProgress><table width="40%"><tr><th>First Update Panel</th></tr><tr><td><asp:UpdatePanel runat="Server" ID="UpdatePanel1" UpdateMode="Conditional"><ContentTemplate><table><tr><th colspan="2">Update Progress Bar Demo</th></tr><tr><td>Your Name</td><td><asp:TextBox ID="txtName" runat="Server"></asp:TextBox></td></tr><tr><td>Your Address</td><td><asp:TextBox ID="txtAddress" runat="Server"></asp:TextBox></td></tr><tr><td align="center" colspan="2"><asp:Button ID="btnSubmit" runat="Server" OnClick="SubmitForm" Text="Submit" /></td></tr><tr><td><asp:Label ID="lblMessage" runat="Server" SkinID="FormValueMessage"></asp:Label></td></tr></table></ContentTemplate></asp:UpdatePanel></td></tr></table>
protected void SubmitForm(object sender, EventArgs e) { System.Threading.Thread.Sleep(2000); lblMessage.Text = "<hr />Name: <b>" + txtName.Text + "</b> <p>" + "Address: <b>" + txtAddress.Text + "</b></p>"; }
You need to be a premium member to use this feature. To access it, you'll have to upgrade your membership.
Become a sharper developer and jumpstart your career.
$0
$
. 00
monthly
For Basic members:
$20
For Premium members:
$45
For Elite members: