Wednesday, March 21, 2012

partial page update

hi, just learning the ajax for and would like to know how can i update the content by putting another control inside the update panel.

for example, inside this control panel, there is a label, when i click on the button, the label will disappear and then the login control will be visible? sorry, just a newb in and ajax. thanks in advance.Smile


Just place them inside the UpdatePanel and code your controls as what you do using postback.

Does that make sense?

<asp:UpdatePanel ID="UpdatePanel 1" UpdateMode="Conditional" runat="server">

<!-- Your control Lable,Button etc -->


No comments:

Post a Comment