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

<%@ Register Namespace="Chapter14" TagPrefix="ch14" %>

<!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 id="Head1" runat="server">
   <title>Testowanie połączeń składników Web Part</title>
   <link href="chapterStyles.css" type="text/css" rel="stylesheet"  />
</head>
<body id="body1" runat="server" >
   <form id="form1" runat="server">

   <asp:WebPartManager ID="partManager" runat="server" >
      <StaticConnections>
         <asp:WebPartConnection ID="conn1" 
            ProviderID="mySelectPublisher"
            ConsumerID="myBookViewer" />
         <asp:WebPartConnection ID="conn2"
            ProviderID="mySelectPublisher"
            ConsumerID="myPublisherRSS" />
      </StaticConnections>
   </asp:WebPartManager>
   <div id="container">
      <div id="header">
         <div id="theme"></div>            
         <div id="logo">
            <asp:Image runat="server" ID="imgLogo" SkinID="logo" />
         </div>
      </div>
      <div id="sideArea">            
         <asp:WebPartZone ID="zoneSide" runat="server" 
               Padding="6" WebPartVerbRenderMode="TitleBar"
               PartChromeType="TitleOnly"  Width="14em">
            <ZoneTemplate>      
               <ch14:SelectPublisherProvider ID="mySelectPublisher" runat="server" />                               
            </ZoneTemplate> 
         </asp:WebPartZone>    
      </div>
      
      <div id="mainArea">  
         <asp:WebPartZone ID="zoneMain" runat="server" 
               WebPartVerbRenderMode="TitleBar"               
               Padding="6" PartChromeType="TitleOnly">
            <ZoneTemplate>                             
               <ch14:BookListConsumer id="myBookViewer" runat="server" />
               <ch14:PublisherRSSConsumer ID="myPublisherRSS" runat="server" />
            </ZoneTemplate>
         </asp:WebPartZone>
      </div>
      <div id="footer">
         <p>
            Ta strona nie jest prawdziwa. Jest jedynie przykładem z książki o ASP.NET wydawnictwa Helion.</p>
      </div>
   </div>
   </form>
</body>
</html>
