<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="ujeszkoz1.aspx.cs" Inherits="ujeszkoz1" Title="Untitled Page" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <style type="text/css">
        .style9
        {
            width: 186px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">

    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <asp:Panel ID="Panel1" runat="server" Width="820px" BackColor="#FFFFCC">
    <br />
    <asp:Label ID="lblFejlec" runat="server" Text="TERMÉK MODUL" Font-Bold="True" 
            Font-Names="verdana" Font-Size="15px" ForeColor="Red"></asp:Label>
    <br />
    <br />
    <br />
    <asp:Button ID="btnUjTermek" runat="server" Text="Új termék rögzítése" 
        Font-Bold="True" Font-Names="Verdana" Font-Size="11px" 
        onclick="btnUjTermek_Click" Width="200px" />
    <br />
    <br />
    <asp:Button ID="btnModositas" runat="server" Text="Meglévő termék módosítása" 
        Font-Bold="True" Font-Names="Verdana" Font-Size="11px" 
        onclick="btnModositas_Click" Width="200px" />
    <br />
    <br />  
    <table style="width:100%;" align="center" frame="void">
    
    </tr __designer:mapid="1d8">
    
        <td class="style9">
            <asp:Label ID="Label7" runat="server" Font-Bold="True" Text="Gyártó" 
                Visible="False"></asp:Label>
        </td>
        <td class="style2">
            <asp:DropDownList ID="DropDownList1" runat="server" 
                onselectedindexchanged="DropDownList1_SelectedIndexChanged" Visible="False" 
                Width="150px">
                <asp:ListItem>Válassz...</asp:ListItem>
            </asp:DropDownList>
            <asp:TextBox ID="TextBox10" runat="server" 
                ontextchanged="TextBox10_TextChanged" Visible="False" Width="150px">a</asp:TextBox>
            <asp:Button ID="Button3" runat="server" onclick="Button3_Click" 
                Text="Új gyártó" Visible="False" />
            <asp:Button ID="Button7" runat="server" onclick="Button7_Click" Text="Mégse" 
                Visible="False" />
            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                ControlToValidate="TextBox10" Display="Dynamic" ErrorMessage="ÜRES!!!" 
                ValidationGroup="gyarto">ÜRES!!!</asp:RequiredFieldValidator>
            <asp:Label ID="Label11" runat="server" ForeColor="Red" 
                Text="A megadott gyártó az adatbázisban már szerepel" Visible="False"></asp:Label>
        </td>
    
    <tr>
        <td class="style9">
            <asp:Label ID="Label1" runat="server" Text="Cikkszám" Font-Bold="True" 
                Visible="False"></asp:Label>
        </td>
        <td class="style2">
            <asp:TextBox ID="TextBox1" runat="server" Width="150px" Visible="False"></asp:TextBox>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                ControlToValidate="TextBox1" Display="Dynamic" ErrorMessage="ÜRES!!!" 
                ValidationGroup="gyarto">ÜRES!!!</asp:RequiredFieldValidator>
            <asp:Label ID="Label17" runat="server" ForeColor="Red" 
                Text="A megadott CIKKSZAM az adatbázisban már szerepel" Visible="False"></asp:Label>
            <asp:Label ID="lblTermekModosit" runat="server" Font-Bold="True" 
                Font-Names="Verdana" Font-Size="11px" 
                Text="Írd be a módosítandó termék cikkszámát" Visible="False"></asp:Label>
            <asp:TextBox ID="txtTermekModosit" runat="server" 
                ontextchanged="txtTermekModosit_TextChanged" Visible="False" Width="150px"></asp:TextBox>
        </td>
        
    </tr>
    <tr>
        <td class="style9">
            <asp:Label ID="Label3" runat="server" Text="Megnevezés" Font-Bold="True" 
                Visible="False"></asp:Label>
        </td>
        <td class="style2">
            <asp:TextBox ID="TextBox3" runat="server" Width="150px" Visible="False"></asp:TextBox>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
                ControlToValidate="TextBox3" Display="Dynamic" ErrorMessage="ÜRES!!!" 
                ValidationGroup="gyarto">ÜRES!!!</asp:RequiredFieldValidator>
        </td>
    </tr>
    <tr>
        <td class="style9">
            <asp:Label ID="Label4" runat="server" Text="Termék leírás" Font-Bold="True" 
                Visible="False"></asp:Label>
        </td>
        <td class="style2">
            <asp:TextBox ID="TextBox4" runat="server" Width="150px" TextMode="MultiLine" 
                Visible="False"></asp:TextBox>
        </td>
    </tr>
    <tr>
        <td class="style9">
            <asp:Label ID="Label5" runat="server" Text="Kép" Font-Bold="True" 
                Visible="False"></asp:Label>
        </td>
        <td class="style2" style="margin-left: 40px">
            <asp:FileUpload ID="FileUpload1" runat="server" Width="240px" Visible="False" />
        </td>
    </tr>
    <tr>
        <td class="style9">
            <asp:Label ID="Label8" runat="server" Font-Bold="True" 
                Text="Elsődleges termékjelleg" Visible="False"></asp:Label>
        </td>
        <td class="style2">
            <asp:DropDownList ID="DropDownList2" runat="server" 
                onselectedindexchanged="DropDownList2_SelectedIndexChanged" Width="150px" 
                Visible="False">
            <asp:ListItem>Válassz...</asp:ListItem>
            </asp:DropDownList>
            <asp:TextBox ID="TextBox11" runat="server" Visible="False" Width="150px">a</asp:TextBox>
            <asp:Button ID="Button4" runat="server" onclick="Button4_Click" 
                Text="Új jelleg" Visible="False" />
            <asp:Button ID="Button8" runat="server" onclick="Button8_Click" Text="Mégse" 
                Visible="False" />
            <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" 
                ControlToValidate="TextBox11" Display="Dynamic" ErrorMessage="ÜRES!!!" 
                ValidationGroup="gyarto">ÜRES!!!</asp:RequiredFieldValidator>
            <asp:Label ID="Label12" runat="server" ForeColor="Red" 
                Text="A megadott jelleg az adatbázisban már szerepel" Visible="False"></asp:Label>
        </td>
    </tr>
    <tr>
        <td class="style9">
            <asp:Label ID="Label9" runat="server" Font-Bold="True" 
                Text="Másodlagos termékjelleg" Visible="False"></asp:Label>
        </td>
        <td class="style2">
            <asp:DropDownList ID="DropDownList3" runat="server" 
                onselectedindexchanged="DropDownList3_SelectedIndexChanged" Width="150px" 
                Visible="False">
            <asp:ListItem>Válassz...</asp:ListItem>
            </asp:DropDownList>
            <asp:TextBox ID="TextBox12" runat="server" Visible="False" Width="150px">a</asp:TextBox>
            <asp:Button ID="Button5" runat="server" onclick="Button5_Click" 
                Text="Új jelleg" Visible="False" />
            <asp:Button ID="Button9" runat="server" onclick="Button9_Click" Text="Mégse" 
                Visible="False" />
            <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" 
                ControlToValidate="TextBox12" Display="Dynamic" ErrorMessage="ÜRES!!!" 
                ValidationGroup="gyarto">ÜRES!!!</asp:RequiredFieldValidator>
            <asp:Label ID="Label15" runat="server" ForeColor="Red" 
                Text="A megadott jelleg az adatbázisban már szerepel" Visible="False"></asp:Label>
        </td>
    </tr>
    <tr>
        <td class="style9">
            <asp:Label ID="Label10" runat="server" Font-Bold="True" 
                Text="Harmadlagos termékjelleg" Visible="False"></asp:Label>
        </td>
        <td class="style2">
            <asp:DropDownList ID="DropDownList4" runat="server" Width="150px" 
                Visible="False">
            <asp:ListItem>Válassz...</asp:ListItem>
            </asp:DropDownList>
            <asp:TextBox ID="TextBox13" runat="server" 
                ontextchanged="TextBox13_TextChanged" Visible="False" Width="150px">a</asp:TextBox>
            <asp:Button ID="Button6" runat="server" onclick="Button6_Click" 
                Text="Új jelleg" Visible="False" />
            <asp:Button ID="Button10" runat="server" onclick="Button10_Click" Text="Mégse" 
                Visible="False" />
            <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" 
                ControlToValidate="TextBox13" Display="Dynamic" ErrorMessage="ÜRES!!!" 
                ValidationGroup="gyarto">ÜRES!!!</asp:RequiredFieldValidator>
            <asp:Label ID="Label16" runat="server" ForeColor="Red" 
                Text="A megadott jelleg az adatbázisban már szerepel" Visible="False"></asp:Label>
        </td>
    </tr>
</table>
    <asp:Button ID="Button1" runat="server" Text="Ment" onclick="Button1_Click" 
        ValidationGroup="gyarto" Visible="False" Font-Bold="True" 
        Font-Names="Verdana" Font-Size="11px" Width="50px" />
    <asp:Button ID="Button2" runat="server" Text="Mégse" Visible="False" 
        Font-Bold="True" Font-Names="Verdana" Font-Size="11px" Width="50px" />
    <asp:Button ID="btnModositMent" runat="server" Font-Bold="True" 
        Font-Names="Verdana" Font-Size="11px" onclick="btnModositMent_Click" 
        Text="Ment" Visible="False" Width="50px" />
        </asp:Panel>
</asp:Content>

