<%@ Page Language="C#" AutoEventWireup="true" CodeFile="clanky.aspx.cs" MasterPageFile="MainMasterPage.master" Inherits="main_clanky" %>

<asp:Content ID="clanky_obsah" ContentPlaceHolderID="obsah" runat="server">
    <div class="category_select_class">
        <asp:DropDownList ID="category_select" runat="server" AutoPostBack="true"
            onselectedindexchanged="category_select_SelectedIndexChanged" 
            EnableViewState="true">
        </asp:DropDownList>
        </div>
    <div class="user_select_class">
         <asp:DropDownList ID="user_select" runat="server" AutoPostBack="true"
            EnableViewState="true"
            onselectedindexchanged="user_select_SelectedIndexChanged">
        </asp:DropDownList>
        </div>
    <div>
        <asp:DataList ID="clanky_list" runat="server">
            <ItemTemplate>
                <div class="title_class">
                    <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl='<% #Eval("link") %>'>
                        <asp:Label ID="Label1" runat="server" Text='<% #Eval("title") %>'></asp:Label>
                    </asp:HyperLink>
                    </div>
                <div class="content_class">
                    <asp:Literal ID="Literal1" runat="server" Text='<% #Eval("text") %>'></asp:Literal>
                    </div>
            </ItemTemplate>
        </asp:DataList>
        <!--
        <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\ASPNETDB.MDF;Integrated Security=True;User Instance=True"
            ProviderName="System.Data.SqlClient" SelectCommand="SELECT [title], [text] FROM [articles]">
        </asp:SqlDataSource>
        -->
    </div>
</asp:Content>
