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

<asp:Content ID="testy_obsah" ContentPlaceHolderID="obsah" runat="server">
    <div>
        <p>testy stranka!</p>
    </div>
    <div class="category_select_class">
        <asp:DropDownList ID="category_select" runat="server" AutoPostBack="true"
         EnableViewState="true" 
            onselectedindexchanged="category_select_SelectedIndexChanged">
        </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="testy_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>
            </ItemTemplate>
        </asp:DataList>
    </div>
</asp:Content>
