<%@ Page Language="C#" AutoEventWireup="true" CodeFile="InstUpd_Formatosbalance.aspx.cs" Inherits="InstUpd_Formatosbalance" %>
<%@ 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 runat="server">
    <title></title>
    <link href="estilos/Estilos.css" rel="stylesheet" type="text/css" />
    
    <style type="text/css">
        .style1
        {
            width: 37%;
        }
    </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 align="center" cellspacing="0" cellpadding="0" width="520" border="0" style="padding-right:7px">
                <tr align="center" style="background-color: #ffffff">
                    <td style="height: 41px;" valign="middle">
                    
             <table id="tablaMantenimiento" runat="server" border="0" align="center" cellpadding="0" cellspacing="0">
            
              <tr> 
                <td ><table width="600" height="152" border="0" cellpadding="0" cellspacing="0" style="border:1px solid" bordercolor="#557961" class="tablatitulo">
                    <tr background="images/bg_tabla.jpg"> 
                      <td height="3" align="center" style="background-color:#CCCCCC; border-bottom:1px solid"></td>
                    </tr>
                </td>
              </tr>
                    <tr> 
                      <td >
                      
                      <table width="98%" border="0" cellspacing="0" cellpadding="0">
                          
                          <tr>
                            <td height="28" align="right" class="Cont_form">Nombre Formato Balance:</td>
                            <td style="padding-left:22px"  align="left">
                                <telerik:RadTextBox ID="txtNombre" runat="server" 
                                    CssClass="MyEnabledTextBox" Width="298px" MaxLength="80" 
                                    Skin="Outlook" TabIndex="0" >
                                    <EmptyMessageStyle CssClass="MyEmptyTextBox" />
                                    <EnabledStyle CssClass="MyEnabledTextBox" />
                                    <FocusedStyle CssClass="MyFocusedTextBox" />
                                    <HoveredStyle CssClass="MyHoveredTextBox" />
                                    <InvalidStyle CssClass="MyInvalidTextBox" />                                    
                                    </telerik:RadTextBox>
                                &nbsp;<asp:RequiredFieldValidator 
                                    ID="RequiredFieldValidator4" runat="server" ControlToValidate="txtNombre" 
                                    ErrorMessage="Ingrese el Nombre del Formato de Balance." 
                                    SetFocusOnError="True">*</asp:RequiredFieldValidator>


                              </td>
                          </tr>
                          <tr>
                            <td height="28" align="right" class="Cont_form">Estado :</td>
                            <td style="padding-left:22px"  align="left">
                             <telerik:RadComboBox ID="ddlEstado2" 
                                Width="300px" 
                                Runat="server" 
                                Skin="Outlook" 
                               
                                AutoPostBack="false" 
                                CausesValidation="false"
                                Height="50px"  
                                EmptyMessage="Seleccione..." TabIndex="0" > 
                             </telerik:RadComboBox>
                             <asp:RequiredFieldValidator runat="server" ID="RequiredFieldValidator5" ControlToValidate="ddlEstado2"
                                ErrorMessage="Seleccione el Estado." CssClass="validator" Text="*" 
                                    SetFocusOnError="True"></asp:RequiredFieldValidator>
                                </td>
                          </tr>
                          <tr>
                            <td height="10" align="right" class="Cont_form"></td>
                            <td align="left"></td>
                          </tr>
                        </table>
                      
                      
                      
                      
                       
                       </td>
                    </tr>
                  </table>
            </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"/>
                                
                                
                                         </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>
                <tr  style="background-color: #ffffff">
                    <td  valign="middle" align="left"  class="arial10bold">
                        
                        <span id="Span1" class="validator" style="color: Red; visibility: visible;">*</span> Campos Obligatorios
                        </td>  
                </tr>
            </table>
            
                        <asp:ValidationSummary ID="ValidationSummary1" runat="server" ShowMessageBox="True" ShowSummary="False" />

            
    </div>
    </form>
</body>
</html>
