<%@ Page Language="C#" ValidateRequest="false" AutoEventWireup="true" CodeBehind="textbox_autopostback.aspx.cs"
    Inherits="ExtAspNet.Examples.form.textbox_autopostback" %>

<!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></title>
    <link href="../css/main.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <ext:PageManager ID="PageManager1" runat="server" />
    <ext:SimpleForm ID="SimpleForm1" BodyPadding="5px" runat="server" LabelWidth="100px"
        EnableBackgroundColor="true" ShowBorder="True" Title="Simple Form" Width="400px" ShowHeader="True">
        <Items>
            <ext:TextBox runat="server" ID="TextBox1" Label="TextBox 1" EmptyText="Auto postback when TextBox's value changed"
                AutoPostBack="true" OnTextChanged="TextBox1_TextChanged">
            </ext:TextBox>
            <ext:TextBox ID="TextBox2" runat="server" Label="TextBox 2" Text="">
            </ext:TextBox>
            <ext:Button runat="server" Text="Submit">
            </ext:Button>
        </Items>
    </ext:SimpleForm>
    <br />
    <ext:Label ID="labResult" runat="server">
    </ext:Label>
    </form>
</body>
</html>
