FineUI/FineUI.Examples/form/textbox_autopostback.aspx.cs
2013-11-01 14:13:51 +08:00

32 lines
1.1 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace FineUI.Examples.form
{
public partial class textbox_autopostback : PageBase
{
protected void Page_Load(object sender, EventArgs e)
{
}
protected void TextBox1_TextChanged(object sender, EventArgs e)
{
labResult.Text = "事件来源TextBox1<br/>文本框一:" + TextBox1.Text + "<br/>文本框二:" + TextBox2.Text + "<br/>文本框三:" + TextBox3.Text;
}
protected void TextBox2_TextChanged(object sender, EventArgs e)
{
labResult.Text = "事件来源TextBox2<br/>文本框一:" + TextBox1.Text + "<br/>文本框二:" + TextBox2.Text + "<br/>文本框三:" + TextBox3.Text;
}
protected void TextBox3_Blur(object sender, EventArgs e)
{
labResult.Text = "事件来源TextBox3<br/>文本框一:" + TextBox1.Text + "<br/>文本框二:" + TextBox2.Text + "<br/>文本框三:" + TextBox3.Text;
}
}
}