Use Of Update Panel in your ASP.NET Application
It is as easy example of update panel of those who start to work on updatepanel.
If you want to use update panel in your asp application then try this.........
First Step :
In your drag script manager in your asp master page write this code in your aspx page
<div>
<asp:UpdatePanel ID="testupdatepanel" runat="server">
<ContentTemplate>
<asp:Label ID="lbltime" runat="server"></asp:Label>
</ContentTemplate>
<Triggers>
<asp:AsyncPostBackTrigger ControlID ="btnUpdate" EventName="Click" />
</Triggers>
</UpdatePanel>
</div>
<div>
<asp:Button ID="btnUpdate" runat="server" Text="Update" onclick="btnUpdate_Click" />
</div>
Second Step:
Write this code in your cs file:
protected void btnUpdate_Click(object sender, EventArgs e)
{
lbltime.Text = System.DateTime.Now.ToString();
}

krishna kumar dubeyPosted May 1, 2011, 11:07 PM EDT
nice
Prabhakar PariharPosted May 1, 2011, 10:44 PM EDT
Gud one Prafull