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

<!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>
    <style type="text/css">
        .style1
        {
            width: 100%;
        }
        .style2
        {
            width: 111px;
        }
        #Text1
        {
            width: 306px;
        }
        #Text2
        {
            width: 303px;
        }
        #Text3
        {
            width: 300px;
        }
        #TextWeather
        {
            width: 298px;
        }
        #TextNews
        {
            width: 295px;
        }
        #TextSports
        {
            width: 295px;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
        <Scripts>
            <asp:ScriptReference Path="~/AjaxProfileMaintenance.js" />
        </Scripts>
    </asp:ScriptManager>
    <h1>Zarządzanie profilem AJAX</h1>
    <div>
    
        <table class="style1">
            <tr>
                <td class="style2">
                    Ulubiony kolor:</td>
                <td>
                    <input id="TextFavoriteColor" type="text" /></td>
            </tr>
            <tr>
                <td class="style2">
                    Nazwa zwierzęcia;</td>
                <td>
                    <input id="TextPetsName" type="text" /></td>
            </tr>
            <tr>
                <td class="style2">
                    Wiadomości:</td>
                <td>
                    <input id="TextNews" type="text" /></td>
            </tr>
            <tr>
                <td class="style2">
                    Pogoda:</td>
                <td>
                    <input id="TextWeather" type="text" /></td>
            </tr>
            <tr>
                <td class="style2">
                    Sport:</td>
                <td>
                    <input id="TextSports" type="text" /></td>
            </tr>
        </table>
    
    </div>
    </form>
<p>
    <input id="ButtonGetProfile" type="button" value="Uzyskaj profil" onclick="return ButtonGetProfile_onclick()" /><input 
        id="ButtonSaveProfile" type="button" value="Zapisz profil" onclick="return ButtonSaveProfile_onclick()" /></p>
</body>
</html>
