<%@ Page Title="" Language="C#" MasterPageFile="~/MasterDesign.Master" AutoEventWireup="true"
    CodeBehind="NewAlbum.aspx.cs" Inherits="AUDIOTEKA.NewAlbum" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainPlaceHolder" runat="server">
    <h2>
        Vytvorenie nového Albumu
    </h2>
    <br />
    <asp:Label runat="server" ID="SuccessLabel" Text="Album bol úspešne pridaný" ForeColor="Red" />
    <asp:Label ID="FalseLabel" runat="server" ForeColor="Red" Text="Skontrolujte zadané údaje!" />
    <asp:Label ID="RequiredLabel" runat="server" ForeColor="Red" Text="Je nutné vyplniť aspoň meno albumu" />
    <br />
    <table>
        <tr>
            <td>
                <asp:Label AssociatedControlID="NewArtistDDList" ID="Label1" runat="server" Text="Label">Autor: </asp:Label>
            </td>
            <td>
                <asp:DropDownList ID="NewArtistDDList" runat="server">
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td>
                <asp:Label AssociatedControlID="NewAlbumNameTextBox" ID="NewAlbumNameLabel" runat="server"
                    Text="Label">Názov albumu: </asp:Label>
            </td>
            <td>
                <asp:TextBox ID="NewAlbumNameTextBox" runat="server" MaxLength="256">
                </asp:TextBox>
            </td>
        </tr>
        <tr>
            <td>
                <asp:Label AssociatedControlID="NewYearTextBox" ID="NewYearLabel" runat="server"
                    Text="Label">Year: </asp:Label>
            </td>
            <td>
                <asp:TextBox ID="NewYearTextBox" runat="server">
                </asp:TextBox><br />
            </td>
        </tr>
        <tr>
            <td>
                <asp:Label AssociatedControlID="NewGenreDDList" ID="NewGenreLabel" runat="server"
                    Text="Label">Genre: </asp:Label>
            </td>
            <td>
                <asp:DropDownList ID="NewGenreDDList" runat="server">
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td colspan="2" align="center">
                <asp:Button ID="NewAlbumButton" runat="server" Text="Vytvoriť album" OnClick="AddAlbumButton_Click" />
                <br />
                <asp:HiddenField ID="NewHiddenField" runat="server" />
            </td>
        </tr>
    </table>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="LeftPlaceHolder" runat="server">
</asp:Content>
