hi,
i want to know about update panel with best example when should to use with a great scenario. please help in this .
Loading
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
Satyapriya NayakRank #47 · 31.5K reputationPosted Jun 20, 2012, 3:23 AM EDT
The UpdatePanel control is probably the most important control in the ASP.NET AJAX package. It will AJAX'ify controls contained within it, allowing partial rendering of the area. We already used it in the Hello world example, and in this chapter, we will go in depth with more aspects of the control.
The
@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %> DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> html xmlns="http://www.w3.org/1999/xhtml"> head runat="server"> title>UpdatePaneltitle> head> body> form id="form1" runat="server"> asp:ScriptManager ID="ScriptManager1" runat="server" /> asp:UpdatePanel runat="server" id="UpdatePanel" updatemode="Conditional"> Triggers> asp:AsyncPostBackTrigger controlid="UpdateButton2" eventname="Click" /> Triggers> ContentTemplate> asp:Label runat="server" id="DateTimeLabel1" /> asp:Button runat="server" id="UpdateButton1" onclick="UpdateButton_Click" text="Update" /> ContentTemplate> asp:UpdatePanel> asp:UpdatePanel runat="server" id="UpdatePanel1" updatemode="Conditional"> ContentTemplate> asp:Label runat="server" id="DateTimeLabel2" /> asp:Button runat="server" id="UpdateButton2" onclick="UpdateButton_Click" text="Update" /> ContentTemplate> asp:UpdatePanel> form> body> html>Please refer the below links
http://msdn.microsoft.com/en-us/library/bb399001.aspx
http://ajax.net-tutorials.com/controls/updatepanel-control/
Thanks