<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="bevetelezes.aspx.cs" Inherits="bevetelezes" Title="Untitled Page" %>
<%@ Register 
    Assembly="AjaxControlToolkit" 
    Namespace="AjaxControlToolkit" 
    TagPrefix="ajaxToolkit" %> 
    
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <style type="text/css">
        .style9
        {
            width: 106px;
        }
        .style10
        {
            width: 203px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    
    <span style="color:Red; font-size:15px; font-weight:bold; margin-left:20px; width:800px">
    BEVÉTELEZÉS
    </span>
    <table style="width:100%; width:800px; margin-left:20px" align="center" frame="void">
    <%--<asp:UpdatePanel ID="UpdatePanel1" runat="server">
    <ContentTemplate>--%>
    <tr runat="server" id="tr1">
        <td class="style9" runat="server" id="td1">
            <asp:Label ID="Label1" runat="server" Text="Cikkszám" Font-Bold="True"></asp:Label>
        </td>
        
         <td class="style10">
            <asp:TextBox ID="TextBox1" runat="server" AutoPostBack="True" 
                ontextchanged="TextBox1_TextChanged"></asp:TextBox>
        </td>
        
         <td class="style2">
            <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
                ControlToValidate="TextBox1" Display="Dynamic" 
                ErrorMessage="MEZŐ KITÖLTÉSE KÖTELEZŐ!" ValidationGroup="check"></asp:RequiredFieldValidator>
             <asp:LinkButton ID="lbtnUjCikkszam" runat="server" 
                 PostBackUrl="~/Ujeszkoz.aspx" Visible="False">Új termék felvitele</asp:LinkButton>
        </td>
        
    </tr>
    <tr>
        <td class="style9">
            <asp:Label ID="Label3" runat="server" Text="Megnevezés" Font-Bold="True"></asp:Label>
        </td>
        <td class="style10">
            <asp:TextBox ID="TextBox3" runat="server"></asp:TextBox>
        </td>
        <td class="style2">
            &nbsp;</td>
    </tr>
    <tr>
        <td class="style9">
            <asp:Label ID="Label4" runat="server" Text="Mennyiség" Font-Bold="True"></asp:Label>
        </td>
        <td class="style10">
            <asp:TextBox ID="TextBox4" runat="server" ontextchanged="TextBox4_TextChanged" 
                ValidationGroup="check"></asp:TextBox>
            <ajaxToolkit:FilteredTextBoxExtender ID="TextBox4_FilteredTextBoxExtender" 
                runat="server" FilterType="Numbers" TargetControlID="TextBox4">
            </ajaxToolkit:FilteredTextBoxExtender>
        </td>
        <td class="style2">
            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                ControlToValidate="TextBox4" Display="Dynamic" 
                ErrorMessage="MEZŐ KITÖLTÉSE KÖTELEZŐ!" ValidationGroup="check"></asp:RequiredFieldValidator>
        </td>
    </tr>
    <tr>
        <td class="style9">
            <asp:Label ID="Label5" runat="server" Text="Egységár" Font-Bold="True"></asp:Label>
        </td>
        <td class="style10">
            <asp:TextBox ID="TextBox5" runat="server" ValidationGroup="check"></asp:TextBox>
            <ajaxToolkit:FilteredTextBoxExtender ID="TextBox5_FilteredTextBoxExtender" 
                runat="server" FilterType="Numbers" TargetControlID="TextBox5">
            </ajaxToolkit:FilteredTextBoxExtender>
        </td>
        <td class="style2">
            <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                ControlToValidate="TextBox5" Display="Dynamic" 
                ErrorMessage="MEZŐ KITÖLTÉSE KÖTELEZŐ!" ValidationGroup="check"></asp:RequiredFieldValidator>
        </td>
    </tr>
    <tr>
        <td class="style9">
            <asp:Label ID="Label6" runat="server" Text="Pénznem" Font-Bold="True"></asp:Label>
        </td>
        <td class="style10">
            <asp:DropDownList ID="DropDownList1" runat="server" AutoPostBack="True" 
                onselectedindexchanged="DropDownList1_SelectedIndexChanged">
            </asp:DropDownList>
        </td>
        <td class="style2">
            <asp:Label ID="Label7" runat="server" ForeColor="Red" Text="VÁLASSZ!!!!" 
                Visible="False"></asp:Label>
        </td>
    </tr>
  <%--  </ContentTemplate>
    </asp:UpdatePanel>--%>
</table>
    <asp:Button ID="Button1" runat="server" Text="Ment" onclick="Button1_Click" 
        ValidationGroup="check" />
    <asp:Button ID="Button2" runat="server" Text="Mezők törlése" />
    <br />
    <br />
    
</asp:Content>

