Commit inicial Ventas Productivo
This commit is contained in:
177
ZDG/PopUpBuscarMilitante.aspx
Normal file
177
ZDG/PopUpBuscarMilitante.aspx
Normal file
@@ -0,0 +1,177 @@
|
||||
<%@ Page Title="" Language="VB" MasterPageFile="~/Site.master" AutoEventWireup="false" CodeFile="PopUpBuscarMilitante.aspx.vb" Inherits="ZDG_PopUpBuscarMilitante" %>
|
||||
|
||||
<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
|
||||
<link href="/Metronic/assets/global/plugins/datatables/plugins/bootstrap/dataTables.bootstrap.css" rel="stylesheet" />
|
||||
</asp:Content>
|
||||
<asp:Content ID="Content2" ContentPlaceHolderID="Css" runat="Server">
|
||||
<style>
|
||||
.Widthall {
|
||||
width: 100% !important;
|
||||
}
|
||||
|
||||
.dataTables_scrollHeadInner {
|
||||
width: 100% !important;
|
||||
background-color: #dddddd;
|
||||
padding-left: 0px !important;
|
||||
}
|
||||
|
||||
.dataTables_scrollFoot {
|
||||
display: none;
|
||||
position: static;
|
||||
}
|
||||
|
||||
.table-scrollable {
|
||||
margin: 0px !important;
|
||||
}
|
||||
|
||||
.dataTables_scroll {
|
||||
margin-bottom: 0px;
|
||||
}
|
||||
|
||||
.table.dataTable {
|
||||
margin-top: 0px !important;
|
||||
}
|
||||
|
||||
.dataTables_scrollBody table th {
|
||||
padding: 0px !important;
|
||||
padding-right: 4px !important;
|
||||
padding-left: 4px !important;
|
||||
}
|
||||
|
||||
#divContenido {
|
||||
overflow-x:hidden;
|
||||
}
|
||||
</style>
|
||||
</asp:Content>
|
||||
<asp:Content ID="Content3" ContentPlaceHolderID="E" runat="Server">
|
||||
Búsqueda Militante
|
||||
</asp:Content>
|
||||
<asp:Content ID="Content4" ContentPlaceHolderID="HB" runat="Server">
|
||||
</asp:Content>
|
||||
<asp:Content ID="Content5" ContentPlaceHolderID="H" runat="Server">
|
||||
</asp:Content>
|
||||
<asp:Content ID="Content6" ContentPlaceHolderID="HA" runat="Server">
|
||||
</asp:Content>
|
||||
<asp:Content ID="Content7" ContentPlaceHolderID="C" runat="Server">
|
||||
|
||||
|
||||
|
||||
<asp:UpdatePanel ID="UPFiltros" runat="server" UpdateMode="Conditional">
|
||||
<ContentTemplate>
|
||||
<asp:Panel ID="PnlPrincipal" runat="server" DefaultButton="BtnBuscar" Width="100%">
|
||||
<table width="100%">
|
||||
<tr>
|
||||
<td class="Titulos" colspan="9">Filtros para búsqueda</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="text-right" style="width: 10%"><b>RNM:</b></td>
|
||||
<td style="width: 12.5%">
|
||||
<asp:TextBox ID="TxtRNM" Text="" Width="100%" runat="server" />
|
||||
</td>
|
||||
<td class="text-right" style="width: 10%"><b>Paterno:</b></td>
|
||||
<td style="width: 12.5%">
|
||||
<asp:TextBox ID="TxtPaterno" Text="" Width="100%" runat="server" />
|
||||
</td>
|
||||
|
||||
<td class="text-right" style="width: 10%"><b>Materno:</b></td>
|
||||
<td style="width: 12.5%">
|
||||
<asp:TextBox ID="TxtMaterno" Text="" Width="100%" runat="server" />
|
||||
</td>
|
||||
<td class="text-right" style="width: 10%"><b>Nombre:</b></td>
|
||||
<td style="width: 12.5%">
|
||||
<asp:TextBox ID="TxtNombre" Text="" Width="100%" runat="server" />
|
||||
</td>
|
||||
<td style="width: 10%" ></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="text-right" ><b>Municipio:</b></td>
|
||||
<td colspan="3">
|
||||
<asp:DropDownList ID="DdlMunicipio" AutoPostBack="true" runat="server" OnSelectedIndexChanged="DdlMunicipio_SelectedIndexChanged" Width="100%" CssClass="form-control input-sm select2me" AppendDataBoundItems="true" DataTextField="Municipio" DataValueField="CveMunicipio">
|
||||
<asp:ListItem Selected="True" Text="Todos" Value="-1"></asp:ListItem>
|
||||
</asp:DropDownList>
|
||||
</td>
|
||||
<td class="text-right"><b>Coordinador:</b></td>
|
||||
<td colspan="3">
|
||||
<asp:DropDownList ID="DdlCoordinadores" AutoPostBack="true" runat="server" DataTextField="Nombre" DataValueField="RNM" OnSelectedIndexChanged="DdlCoordinadores_SelectedIndexChanged" Width="100%" CssClass="form-control input-sm select2me" AppendDataBoundItems="true">
|
||||
<asp:ListItem Selected="True" Text="Todos" Value="-2"></asp:ListItem>
|
||||
</asp:DropDownList>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="text-right"><b>Lider:</b></td>
|
||||
<td colspan="3" >
|
||||
<asp:DropDownList ID="DdlLideres" AutoPostBack="true" runat="server" DataTextField="Nombre" DataValueField="RNM" OnSelectedIndexChanged="DdlLideres_SelectedIndexChanged" Width="100%" CssClass="form-control input-sm select2me" AppendDataBoundItems="true">
|
||||
<asp:ListItem Selected="True" Text="Todos" Value="-2"></asp:ListItem>
|
||||
</asp:DropDownList>
|
||||
</td>
|
||||
<td class="text-right"><b>Movilizador:</b></td>
|
||||
<td colspan="3" >
|
||||
<asp:DropDownList ID="DdlMovilizadores" runat="server" DataTextField="Nombre" DataValueField="RNM" Width="100%" CssClass="form-control input-sm select2me" AppendDataBoundItems="true">
|
||||
<asp:ListItem Selected="True" Text="Todos" Value="-2"></asp:ListItem>
|
||||
</asp:DropDownList>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="text-align: center;" align="center" colspan="9">
|
||||
<br />
|
||||
<asp:Button ID="BtnBuscar" runat="server" Text="Buscar" class="btn btn-primary" Width="200px" />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</asp:Panel>
|
||||
</ContentTemplate>
|
||||
</asp:UpdatePanel>
|
||||
|
||||
<asp:UpdatePanel ID="UpDatos" UpdateMode="Conditional" runat="server">
|
||||
<ContentTemplate>
|
||||
<div class="row">
|
||||
<div class="col-md-3 pull-right">
|
||||
<asp:Label Text="" ID="LbNumeroRegistros" runat="server" />
|
||||
</div>
|
||||
</div>
|
||||
<asp:GridView ID="GvDatos" ClientIDMode="Static" runat="server" CssClass="table table-striped table-hover Widthall" AutoGenerateColumns="False" GridLines="None">
|
||||
<Columns>
|
||||
<asp:BoundField HeaderText="RNM" DataField="RNM" ItemStyle-Width="10%" ItemStyle-HorizontalAlign="Left" />
|
||||
<asp:BoundField HeaderText="Nombre" DataField="Nombre" ItemStyle-Width="15%" ItemStyle-HorizontalAlign="Left" />
|
||||
<asp:BoundField HeaderText="Consec" DataField="Consecutivo" ItemStyle-Width="5%" ItemStyle-HorizontalAlign="Left" />
|
||||
<asp:BoundField HeaderText="Municipio" DataField="Municipio" ItemStyle-Width="12.5%" ItemStyle-HorizontalAlign="Left" />
|
||||
<asp:BoundField HeaderText="Coordinador" DataField="Coordinador" ItemStyle-Width="10%" ItemStyle-HorizontalAlign="Left" />
|
||||
<asp:BoundField HeaderText="Tel" DataField="TelefonoCoordinador" ItemStyle-Width="7.5%" ItemStyle-HorizontalAlign="Left" />
|
||||
<asp:BoundField HeaderText="Lider" DataField="Lider" ItemStyle-Width="10%" ItemStyle-HorizontalAlign="Left" />
|
||||
<asp:BoundField HeaderText="Tel" DataField="TelefonoLider" ItemStyle-Width="7.5%" ItemStyle-HorizontalAlign="Left" />
|
||||
<asp:BoundField HeaderText="Movilizador" DataField="Movilizador" ItemStyle-Width="10%" ItemStyle-HorizontalAlign="Left" />
|
||||
<asp:BoundField HeaderText="Tel" DataField="TelefonoMovilizador" ItemStyle-Width="7.5%" ItemStyle-HorizontalAlign="Left" />
|
||||
<asp:BoundField HeaderText="Voto" DataField="VotoTexto" ItemStyle-Width="5%" ItemStyle-HorizontalAlign="Center" />
|
||||
</Columns>
|
||||
</asp:GridView>
|
||||
</ContentTemplate>
|
||||
</asp:UpdatePanel>
|
||||
|
||||
|
||||
</asp:Content>
|
||||
<asp:Content ID="Content8" ContentPlaceHolderID="JS" runat="Server">
|
||||
|
||||
<script src="/Metronic/assets/global/scripts/datatable.js"></script>
|
||||
<script src="/Metronic/assets/global/plugins/datatables/all.min.js"></script>
|
||||
<script type="text/javascript">
|
||||
|
||||
function OrdenarGV() {
|
||||
var Tam = TamañoVentana();
|
||||
var Alto = Tam.height - 330;
|
||||
if (Alto < 100) {
|
||||
Alto = 100;
|
||||
}
|
||||
$('#GvDatos').DataTable({
|
||||
scrollY: Alto + 'px',
|
||||
scrollCollapse: true,
|
||||
paging: false,
|
||||
searching: false,
|
||||
info: false
|
||||
});
|
||||
$('#GvDatos').parent().parent().children().first().css("position", "static");
|
||||
}
|
||||
|
||||
</script>
|
||||
|
||||
</asp:Content>
|
||||
|
||||
Reference in New Issue
Block a user