日期:2014-05-17 浏览次数:20382 次
<body> <form id="form1" runat="server"> <asp:ScriptManager ID="ScriptManager1" runat="server"> </asp:ScriptManager> <p> </p> <div> <asp:TextBox ID="TextBox1" runat="server" AutoPostBack="true" OnTextChanged="TextBox1_TextChanged"></asp:TextBox> <asp:UpdatePanel ID="up" runat="server" UpdateMode="Conditional" RenderMode="Inline"> <ContentTemplate> <asp:TextBox ID="TextBox2" runat="server" Enabled="false"></asp:TextBox> </ContentTemplate> <Triggers> <asp:AsyncPostBackTrigger ControlID="TextBox1" /> </Triggers> </asp:UpdatePanel> <asp:TextBox ID="TextBox3" runat="server"></asp:TextBox> <asp:TextBox ID="TextBox4" runat="server"></asp:TextBox> <asp:Button ID="Button1" runat="server" Text="Button" /> </div> </form> </body>