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

<!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>Untitled Page</title>
</head>
<body>
    <form id="form1" runat="server">
    <asp:ScriptManager ID="SM1" runat="server">
        <Scripts>
            <asp:ScriptReference Path="~/Client Script/OldBooks.js" />
            <asp:ScriptReference Path="~/Client Script/ClientLibrary1.js" />
        </Scripts>
    </asp:ScriptManager>
    <script type="text/javascript">
//    function editorAddedHandler(sender, args) {
//        alert (sender.get_editors().length);
//    }
//    
//    function () {
//        var pub = new Books.Publishers.Publisher("A&W","Boston");
//        pub.add_editorAdded(editorAddedHandler);
//        pub.addEditor("Tomek");
//        pub.addEditor("Marek");
//    });
    </script>
    </form>
</body>
</html>
