<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="MicrosoftAJAXDemo._Default" %>

<!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">
    <div>
        <asp:ScriptManager ID="ScriptManager1" runat="server">
            <Scripts>
                <asp:ScriptReference Path="~/default.js" />
            </Scripts>
            <Services>
                <asp:ServiceReference Path="~/PersonService.svc" />
            </Services>
        </asp:ScriptManager>
    </div>
    <div>
        <input id="Button1" type="button" value="Serializuj dane" onclick="javascript:SerializeData();" />
        <input id="Button2" type="button" value="Serializuj dane (wersja prototypowa)" onclick="javascript:SerializeData2();" />
        <input id="Button3" type="button" value="Wywołaj usługę przetwarzania danych w notacji JSON" onclick="javascript:CallServiceJSON();" />    
    </div>
    </form>
</body>
</html>
