<%@ Page Language="C#" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<script runat="server">
  void Page_Init()
  {
    WebPartManager1.DisplayMode = Microsoft.Web.Preview.UI.Controls.WebParts.WebPartManager.DesignDisplayMode;
  }

  protected void Calendar1_SelectionChanged(object sender, EventArgs e)
  {

  }
</script>

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
  <title>ASP.NET AJAX</title>
</head>
<body>
  <form id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server" />
    <div>
      <asp:WebPartManager ID="WebPartManager1" runat="server" />
      <table>
        <tr>
          <td>
            <asp:WebPartZone ID="WebPartZone1" HeaderText="Strefa 1." runat="server">
                <CloseVerb Text="Zamknij" />
              <ZoneTemplate>
                <asp:Calendar ID="Calendar1" runat="server" 
                      onselectionchanged="Calendar1_SelectionChanged"></asp:Calendar>
              </ZoneTemplate>
                <MinimizeVerb Text="Minimalizuj" />
            </asp:WebPartZone>
          </td>
          <td>
          <asp:WebPartZone ID="WebPartZone2" HeaderText="Strefa 2." runat="server">
              <CloseVerb Text="Zamknij" />
            <ZoneTemplate>
              <asp:Wizard ID="Wizard1" runat="server" FinishCompleteButtonText="Koniec" 
                    FinishPreviousButtonText="Wstecz" StartNextButtonText="Dalej" 
                    StepNextButtonText="Dalej" StepPreviousButtonText="Wstecz">
                <WizardSteps>
                  <asp:WizardStep ID="Step1" runat="server" Title="Etap 1." />
                  <asp:WizardStep ID="Step2" runat="server" Title="Etap 2." />
                </WizardSteps>
              </asp:Wizard>
            </ZoneTemplate>
              <MinimizeVerb Text="Minimalizuj" />
          </asp:WebPartZone>
          </td></tr>
      </table>    
    </div>
  </form>
</body>
</html>
