<%@ Page Language="C#" AutoEventWireup="true" CodeFile="frmProvisionesCompras.aspx.cs"
    Inherits="frmProvisionesCompras" %>

<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>
    <link href="estilos/Estilos.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
        #tablaMantenimiento
        {
            width: 500px;
            margin-right: 0px;
        }
        .RadGrid_Default .rgMasterTable
        {
            border-collapse: separate;
        }
        .RadGrid_Default .rgMasterTable
        {
            font: 12px/16px "segoe ui" ,arial,sans-serif;
        }
        .RadGrid_Default .rgPager
        {
            background: #eee;
        }
        .RadGrid_Default .rgPager
        {
            cursor: default;
        }
        .RadGrid_Default .rgArrPart1
        {
            padding-right: 0;
        }
        .RadGrid_Default .rgWrap
        {
            float: left;
            padding: 0 10px;
            line-height: 22px;
            white-space: nowrap;
        }
        .RadGrid_Default .rgNumPart
        {
            padding: 0;
        }
        .RadGrid_Default .rgArrPart2
        {
            padding-left: 0;
        }
        .RadGrid_Default .rgPagerLabel
        {
            margin: 0 4px 0 0;
            vertical-align: middle;
        }
        .RadGrid_Default .rgPager .RadComboBox
        {
            margin: 0 4px 0 0;
            vertical-align: middle;
        }
        .RadComboBox_Default
        {
            vertical-align: middle;
        }
        .RadComboBox_Default
        {
            font: 12px "Segoe UI" , Arial, sans-serif;
            color: #333;
            text-align: left;
        }
        .RadComboBox_Default *
        {
            margin: 0;
            padding: 0;
        }
        .RadGrid_Default .rgInfoPart
        {
            float: right;
            color: #8a8a8a;
        }
        .RadGrid_Default .rgInfoPart strong
        {
            font-weight: normal;
            color: #4c4e54;
        }
        .RadGrid_Default .rgNumPart a.rgCurrentPage
        {
            background-position: 100% -1450px;
            cursor: default;
        }
        .RadGrid_Default .rgNumPart a.rgCurrentPage
        {
            background: no-repeat url('mvwres://Telerik.Web.UI, Version=2009.2.826.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4/Telerik.Web.UI.Skins.Default.Grid.sprite.gif');
        }
        .RadGrid_Default .rgNumPart a
        {
            float: left;
            line-height: 22px;
            margin: 0;
            padding: 0 5px 0 0;
            color: #000;
            text-decoration: none;
        }
        .RadGrid_Default .rgHeader
        {
            color: #333;
            text-decoration: none;
        }
        .RadGrid_Default .rgHeader
        {
            border: 0;
            border-bottom: 1px solid #828282;
            padding-top: 5px;
            padding-bottom: 4px;
            background: #eaeaea 0 -2300px repeat-x url('mvwres://Telerik.Web.UI, Version=2009.2.826.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4/Telerik.Web.UI.Skins.Default.Grid.sprite.gif');
            text-align: left;
            font-weight: normal;
        }
        .RadGrid_Default .rgHeader
        {
            padding-left: 7px;
            padding-right: 7px;
        }
        .RadGrid_Default .rgHeader
        {
            cursor: default;
        }
        .style8
        {
            width: 324px;
            height: 4px;
        }
        .style9
        {
            width: 158px;
        }
        </style>
</head>
<body style="background-color: #FFFFFF">
    <form id="form1" runat="server">
    <div>

        <script type="text/javascript">
            function CloseAndRebind(args) {
                GetRadWindow().Close();
                GetRadWindow().BrowserWindow.refreshGrid(args);
            }

            function GetRadWindow() {
                var oWindow = null;
                if (window.radWindow) oWindow = window.radWindow; //Will work in Moz in all cases, including clasic dialog
                else if (window.frameElement.radWindow) oWindow = window.frameElement.radWindow; //IE (and Moz as well)

                return oWindow;
            }

            function CancelEdit() {
                GetRadWindow().Close();
            }
        </script>

        <asp:ScriptManager ID="ScriptManager1" runat="server">
        </asp:ScriptManager>
        <table id="tablaMantenimiento" runat="server" border="0" align="center" cellpadding="0" 
            cellspacing="0" width="10px" >
            <tr>
                <td class="tablatitulo" style="background-color: #CCCCCC;">
                    <table border="0" cellspacing="4" cellpadding="0" 
                        style="width: 503px; margin-right: 0px;">
                        <tr>
                            <td align="right" class="style9"  ></td>
                            <td align="right" class="style8"></td>
                            <td align="right" ></td>
                        </tr>
                        <tr>
                            <td height="28" align="center" colspan="3" style="height:50px" >
                                        <div style="background: #E0E5F5; padding: 5px; width: 350px; text-align: center;">
                                            <div style="font-size: 13px; font-weight: bold; padding-bottom: 3px; text-align: center">
                                                PROVISIONES DE COMPRA
                                            </div>
                                        </div>
                            </td>
                        </tr>
                        <tr>
                            <td align="right" class="style9"  ></td>
                            <td align="left" class="style8"></td>
                            <td align="right" ></td>
                        </tr>
                        <tr>
                            <td align="right" class="style9"  >Nombre</td>
                            <td align="left" class="style8">
                                <telerik:RadTextBox id="txtNombre" Runat="server" Width="258px" 
                                    ReadOnly="True" >
                                </telerik:RadTextBox>
                            </td>
                            <td align="right" ></td>
                        </tr>
                        <tr>
                            <td align="right" class="style9"  >Cuentas de Compras</td>
                            <td align="left" class="style8">
                                <telerik:RadComboBox  ID="cbxPlanCta" 
                                Runat="server" 
                                Width="260px" 
                                Height="150px"
                                Skin="Outlook" 
                                AccessKey="T" 
                                TabIndex="0"
                                MarkFirstMatch="true"
                                CausesValidation="true"
                                >
                                </telerik:RadComboBox>
                                <%--<asp:RequiredFieldValidator runat="server" ID="RequiredFieldValidator2" ControlToValidate="cbxPlanCta"
                                InitialValue="Seleccione..." Text="*" ErrorMessage="Seleccione el Plan de Cuenta." />--%>
                                   
                            </td>
                            <td align="right" ></td>
                        </tr>
                        
                        
                        <tr>
                            <td align="right" class="style9"  >Cuenta de Consumo</td>
                            <td align="left" class="style8">
                                <telerik:RadComboBox  ID="cbxPlanCtaConsumo" 
                                Runat="server" 
                                Width="260px" 
                                Height="150px"
                                Skin="Outlook" 
                                AccessKey="T" 
                                TabIndex="0"
                                MarkFirstMatch="true"
                                CausesValidation="true"
                                >
                                </telerik:RadComboBox></td>
                            <td align="right" >&nbsp;</td>
                        </tr>
                        
                        <tr>
                            <td align="right" class="style9"  >Cuenta Costo de Produccion Debe</td>
                            <td align="left" class="style8">
                                <telerik:RadComboBox  ID="cbxPlanCtaCostoProduccionDebe" 
                                Runat="server" 
                                Width="260px" 
                                Height="150px"
                                Skin="Outlook" 
                                AccessKey="T" 
                                TabIndex="0"
                                MarkFirstMatch="true"
                                CausesValidation="true"
                                >
                                </telerik:RadComboBox></td>
                            <td align="right" >&nbsp;</td>
                        </tr>

                        <tr>
                            <td align="right" class="style9"  >Cuenta Costo de produccion haber</td>
                            <td align="left" class="style8">
                               <telerik:RadComboBox  ID="cbxPlanCtaCostoProduccionHaber" 
                                Runat="server" 
                                Width="260px" 
                                Height="150px"
                                Skin="Outlook" 
                                AccessKey="T" 
                                TabIndex="0"
                                MarkFirstMatch="true"
                                CausesValidation="true"
                                >
                                </telerik:RadComboBox></td>
                            <td align="right" >&nbsp;</td>
                        </tr>

                        <tr>
                            <td align="right" class="style9"  >Cuenta Costo de Ventas Vinculada</td>
                            <td align="left" class="style8">
                                <telerik:RadComboBox  ID="cbxPlanCtaCostoVentasVinculadas" 
                                Runat="server" 
                                Width="260px" 
                                Height="150px"
                                Skin="Outlook" 
                                AccessKey="T" 
                                TabIndex="0"
                                MarkFirstMatch="true"
                                CausesValidation="true"
                                >
                                </telerik:RadComboBox></td>
                            <td align="right" >&nbsp;</td>
                        </tr>

                        <tr>
                            <td align="right" class="style9"  >Cuenta Costo de Ventas Terceros</td>
                            <td align="left" class="style8">
                                <telerik:RadComboBox  ID="cbxPlanCtaCostoVentasTerceros" 
                                Runat="server" 
                                Width="260px" 
                                Height="150px"
                                Skin="Outlook" 
                                AccessKey="T" 
                                TabIndex="0"
                                MarkFirstMatch="true"
                                CausesValidation="true"
                                >
                                </telerik:RadComboBox></td>
                            <td align="right" >&nbsp;</td>
                        </tr>

                        <tr id="tr1" runat="server">
                            <td align="right" class="style9"  >Cuenta no aceptado</td>
                            <td align="left" class="style8">
                                <telerik:RadComboBox  ID="cbxPlanCtaNoAceptado" 
                                Runat="server" 
                                Width="260px" 
                                Height="150px"
                                Skin="Outlook" 
                                AccessKey="T" 
                                TabIndex="0"
                                MarkFirstMatch="true"
                                CausesValidation="true"
                                >
                                </telerik:RadComboBox></td>
                            <td align="right" >&nbsp;</td>
                        </tr>

                        <tr id="tr2" runat="server">
                            <td align="right" class="style9"  >Cuenta Meses posteriores soles</td>
                            <td align="left" class="style8">
                                <telerik:RadComboBox  ID="cbxPlanCtaMesesPosterioresSoles" 
                                Runat="server" 
                                Width="260px" 
                                Height="150px"
                                Skin="Outlook" 
                                AccessKey="T" 
                                TabIndex="0"
                                MarkFirstMatch="true"
                                CausesValidation="true"
                                >
                                </telerik:RadComboBox></td>
                            <td align="right" >&nbsp;</td>
                        </tr>

                        <tr id="tr3" runat="server">
                            <td align="right" class="style9"  >Cuenta Meses Posteriores dólares</td>
                            <td align="left" class="style8">
                                <telerik:RadComboBox  ID="cbxPlanCtaMesesPosterioresDolares" 
                                Runat="server" 
                                Width="260px" 
                                Height="150px"
                                Skin="Outlook" 
                                AccessKey="T" 
                                TabIndex="0"
                                MarkFirstMatch="true"
                                CausesValidation="true"
                                >
                                </telerik:RadComboBox></td>
                            <td align="right" >&nbsp;</td>
                        </tr>

                        <tr>
                            <td align="right" class="style9"  >&nbsp;</td>
                            <td align="left" class="style8">
                                &nbsp;</td>
                            <td align="right" >&nbsp;</td>
                        </tr>
                        
                    </table>
                </td>
            </tr>
            <tr style="background-color: #ffffff">
                <td style="height: 40px;" valign="middle" align="right">
                    <table cellspacing="0" cellpadding="0" border="0" style="width: 119px">
                        <tr>
                            <td style="padding-right: 10px">
                                <span class="btn_Botones">
                                    <asp:Button ID="btnGuardar" runat="server" CssClass="Button" TabIndex="0" CausesValidation="true"
                                        OnClick="btnGuardar_Click" Text="Guardar" />
                                </span>
                            </td>
                            <td style="width: 40px">
                                <span class="btn_Botones">
                                    <asp:Button ID="btnVolver" runat="server" CssClass="Button" Text="Cancelar" CausesValidation="False"
                                        OnClick="btnVolver_Click" TabIndex="0" />
                                </span>
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
            
        </table>
        <asp:ValidationSummary ID="ValidationSummary1" runat="server" ShowMessageBox="True"
            ShowSummary="False" />
    </div>
    </form>
</body>
</html>
