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

<!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>Czytnik Rss</title>
    <link href="chapterStyles.css" type="text/css" rel="stylesheet" />
    <style type="text/css">
      .SelectArea { padding: 5px; width: 300px; }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <asp:Panel ID="panSelect" runat="server" BorderWidth="1" 
      BorderStyle="Solid" BackColor="Beige" CssClass="SelectArea">
    <h1>Czytnik RSS </h1>
    <p>Wybierz kanał RSS<br />    
    <asp:DropDownList ID="drpFeeds" runat="server" >
      <asp:ListItem Value="http://rss.cnn.com/rss/cnn_topstories.rss">CNN</asp:ListItem>
      <asp:ListItem Value="http://msdn.microsoft.com/rss.xml">MSDN</asp:ListItem>
      <asp:ListItem Value="http://newsrss.bbc.co.uk/rss/newsonline_uk_edition/technology/rss.xml">BBC Technology News</asp:ListItem>
    </asp:DropDownList>
    </p>
    <p>Wybierz szablon<br />
    <asp:DropDownList ID="drpTemplates" runat="server">
      <asp:ListItem Value="~/App_Data/RssTransform1.xsl">RssTransform 1</asp:ListItem>
      <asp:ListItem Value="~/App_Data/RssTransform2.xsl">RssTransform 2</asp:ListItem>
    </asp:DropDownList>
    </p>
       <p>
    <asp:Button ID="btnRead" runat="server" Text="Czytaj" OnClick="btnRead_Click" />
       </p>
    </asp:Panel>
    
    <asp:Panel ID="panFeed" runat="server">
    <asp:Xml ID="myXml" runat="server"></asp:Xml>
    </asp:Panel>
    </form>
</body>
</html>
