for example , this works just fine in ie/ff/opera/...
===== WebForm1.aspx =======
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs"
Inherits="Web.WebForm1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="
http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>Untitled Page</title>
</head>
<body>
<form id="form1" runat="server">
<div>
<asp:ScriptManager ID="ScriptManager1" runat="server" />
<asp:UpdatePanel ID="UpdatePanel1" runat="server"
UpdateMode="Conditional">
<ContentTemplate>
1 <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
<asp:Button ID="Button1" runat="server" Text="Just 1"
onclick="Button1_Click" />
<asp:Button ID="Button3" runat="server" onclick="Button3_Click"
Text="Both" />
</ContentTemplate>
</asp:UpdatePanel>
<asp:UpdatePanel ID="UpdatePanel2" runat="server"
UpdateMode="Conditional">
<ContentTemplate>
2 <asp:TextBox ID="TextBox2" runat="server"></asp:TextBox>
<asp:Button ID="Button2" runat="server" Text="Just 2"
onclick="Button2_Click" />
</ContentTemplate>
</asp:UpdatePanel>
</div>
</form>
</body>
</html>
====== WebForm1.aspx.cs =========
using System;
namespace Web
{
public partial class WebForm1 : System.Web.UI.Page
{
protected void Page_Load( object sender , EventArgs e )
{
}
private void UpdateThings()
{
TextBox1.Text = TextBox2.Text = DateTime.Now.ToString(
"hh:mm:ss.ffffff" );
}
protected void Button1_Click( object sender , EventArgs e )
{
UpdateThings();
}
protected void Button3_Click( object sender , EventArgs e )
{
UpdateThings();
UpdatePanel2.Update();
}
protected void Button2_Click( object sender , EventArgs e )
{
UpdateThings();
}
}
}