<%@ Page Language="C#" AutoEventWireup="true" CodeFile="TextBoxEvent.aspx.cs" Inherits="TextBoxEvent" %>

<!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>TextBox TextChanged</title>
    <link href="chapterStyles.css" type="text/css" rel="stylesheet" />
</head>
<body>
    <form id="form1" runat="server">
    <div id="container">
      <h1>TextBox TextChanged</h1>
      <p>
         Kraj: <br />
         <asp:TextBox ID="txtCountry" runat="server" 
            OnTextChanged="txtCountry_TextChanged" 
            AutoPostBack="true" />
      </p>
      <p>
         <asp:Label ID="labRegion" runat="server" Text="Region" /><br />
         <asp:TextBox ID="txtState" runat="server" />
      </p>
    </div>
    </form>
</body>
</html>
