<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="Form_BajaActivoPopUp.aspx.vb" Inherits="SGHweb.Form_BajaActivoPopUp" %>
<!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> :: Dar de Baja :: </title>
    <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js" type="text/javascript"></script>
    <script type="text/javascript" src="../Scripts/noty/jquery.noty.js"></script>
    <script type="text/javascript" src="../Scripts/noty/themes/default.js"></script>
    <script type="text/javascript" src="../Scripts/noty/layouts/center.js"></script>
    <link rel="stylesheet" type="text/css" href="../Scripts/noty/buttons.css" />
<telerik:RadCodeBlock ID="RadCodeBlock1" runat="server">
<script language="javascript" type="text/javascript">
    function GetRadWindow() {
        var oWindow = null;
        if (window.radWindow) oWindow = window.radWindow;
        else if (window.frameElement.radWindow) oWindow = window.frameElement.radWindow;
        return oWindow;
    }

    function CerrarVentana(indicador) {
        var oWnd = GetRadWindow();
        var oArg = new Object();
        oArg.indicador = indicador;
        oWnd.close(oArg);
    }
    function GenerarAlerta(type, texto) {
        var n = noty({
            text: texto,
            type: type,
            dismissQueue: true,
            layout: 'center',
            modal: true,
            theme: 'defaultTheme',
            buttons: [
                    {
                        addClass: 'btn btn-primary', text: 'Ok', onClick: function ($noty) {
                            $noty.close();
                        }
                    },
            ]
        });
        console.log(type + ' - ' + n.options.id);
        return n;
    }
</script>
</telerik:RadCodeBlock>
<style type="text/css">
    .divtableResponsable {
	    border:1px solid #8db2e3;
	    font-size:1em;
	    overflow:hidden;
	    text-align:center;
    }
</style>
</head>
<body>
    <form id="form1" runat="server">
        <table style="width: 100%; font-size: 9pt; font-family: Arial; " >
            <tr>
                <td>
                    <telerik:RadToolBar ID="RadToolBar1" runat="server" Skin="WebBlue" Width="100%">
                        <Items>
                            <telerik:RadToolBarButton runat="server" Font-Names="Arial" Font-Size="9pt" ForeColor="White"
                                ImageUrl="~/SIG/Resources/Update_Popup.png" Text="Guardar" >
                            </telerik:RadToolBarButton>
                            <telerik:RadToolBarButton runat="server" Font-Names="Arial" Font-Size="9pt" ForeColor="White"
                                ImageUrl="~/SIG/Resources/Cancel_PopUp.png" Text="Cancelar" CausesValidation="False" 
                                onclick="CerrarVentana(1);" >
                            </telerik:RadToolBarButton>
                        </Items>
                    </telerik:RadToolBar>
                </td>
            </tr>
            <tr>
                <td>
                    <dt class="divtableResponsable">
                    <table width="100%">
                        <tr>
                            <td style="text-align:right; width:20%; font-family: Arial, Helvetica, sans-serif; ">
                                Fecha&nbsp;
                            </td>
                            <td style="text-align:left; width:80%">
                                <telerik:RadDatePicker ID="fechaBajaRDP" Runat="server" Width="90%" 
                                    Culture="es-PE" Skin="WebBlue">
                                    <Calendar UseRowHeadersAsSelectors="False" UseColumnHeadersAsSelectors="False" Skin="WebBlue"></Calendar>
                                        <DateInput DisplayDateFormat="dd/MM/yyyy" DateFormat="dd/MM/yyyy" 
                                            LabelWidth="40%">
                                        </DateInput>                                                                        
                                    <DatePopupButton ImageUrl="" HoverImageUrl="">
                                    </DatePopupButton>
                                </telerik:RadDatePicker>
                            </td>
                        </tr>
                    </table>
                    </dt>
                </td>
            </tr>
            <tr>
                <td>
                    <dt class="divtableResponsable">
                    <table width="100%">
                        <tr>
                            <td style="text-align:right; width:20%; font-family: Arial, Helvetica, sans-serif; ">
                                Motivo&nbsp;
                            </td>
                            <td style="text-align:left; width:80%">
                                <asp:TextBox ID="motivoTB" runat="server" Rows="5" 
                                    TextMode="MultiLine" Width="90%"></asp:TextBox>
                            </td>
                        </tr>
                    </table>
                    </dt>
                </td>
            </tr>
        </table>
        <asp:ScriptManager ID="ScriptManager1" runat="server">
        </asp:ScriptManager>
    </form>
</body>
</html>
