<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="SimpleBehavior.aspx.cs" Inherits="Chapter_7.SimpleBehavior" %>

<%@ Register Assembly="Controls" Namespace="Controls" TagPrefix="cc1" %>

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Simple Behavior</title>
</head>
<body>
    <form id="form1" runat="server">
    <asp:ScriptManager ID="SM1" runat="server" />
    <asp:UpdatePanel ID="UP1" runat="server" UpdateMode="Conditional">
        <ContentTemplate>
            <cc1:SimpleBehavior ID="Beh1" runat="server" />
            <asp:Button ID="tstButton" Text="Update" runat="server" />
        </ContentTemplate>
    </asp:UpdatePanel>
    </form>
</body>
</html>
