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

<!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 id="Head1" runat="server">
    <title>Testowanie kontrolki HiddenField</title>
    <link href="chapterStyles.css" type="text/css" rel="stylesheet" />
    <style type="text/css">
      #left { float: left; width: 200px; }
      #right { float: right; width: 200px; }
    </style>
</head>
<body>
   <form id="form1" runat="server">
   <div id="container">
      <h1>Testowanie kontrolki HiddenField</h1>
      <p>Kliknij kilka razy na tych dwóch obrazach</p>
      <div id="left"> 
         <div class="box">
            <asp:ImageButton ID="ibtnImage1" runat="server" 
               ImageUrl="images/0321246756.gif" AlternateText="Kliknij mnie" 
               OnClick="ibtnImage1_Click" />
            <p><asp:Label ID="labMessage1" runat="server" /></p>
         </div>
      </div>
      <div id="right">
         <div class="box">
            <asp:ImageButton ID="ibtnImage2" runat="server" 
               ImageUrl="images/0131472275.gif" AlternateText="Kliknij mnie" 
               OnClick="ibtnImage2_Click" />
            <p><asp:Label ID="labMessage2" runat="server" /></p>
         </div>
      </div>
      <asp:HiddenField ID="hfImage1" runat="server" />
      <asp:HiddenField ID="hfImage2" runat="server" />
   </div>
   </form>
</body>
</html>
