Commit inicial Ventas Productivo
This commit is contained in:
121
Prospectos/RepEventos.aspx
Normal file
121
Prospectos/RepEventos.aspx
Normal file
@@ -0,0 +1,121 @@
|
||||
<%@ Page Title="Reporte de Eventos" Language="VB" MasterPageFile="~/Site.master" AutoEventWireup="false" CodeFile="RepEventos.aspx.vb" Inherits="Prospectos_RepEventos" %>
|
||||
<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
|
||||
</asp:Content>
|
||||
<asp:Content ID="Content2" ContentPlaceHolderID="Css" runat="Server">
|
||||
</asp:Content>
|
||||
<asp:Content ID="Content3" ContentPlaceHolderID="HB" runat="Server">
|
||||
</asp:Content>
|
||||
<asp:Content ID="Content4" ContentPlaceHolderID="E" runat="Server">
|
||||
Reporte de Padrón
|
||||
</asp:Content>
|
||||
<asp:Content ID="Content5" ContentPlaceHolderID="H" runat="Server">
|
||||
<asp:UpdatePanel ID="UPDatos" runat="server" UpdateMode="Conditional">
|
||||
<ContentTemplate>
|
||||
<asp:GridView ID="GvDatos" runat="server" AutoGenerateColumns="False" EmptyDataText="No se encontraron Registros" CssClass="table table-striped table-advance table-hover" style="margin-top:-10px; text-align:center;" GridLines="None" >
|
||||
<Columns>
|
||||
<asp:TemplateField>
|
||||
<ItemTemplate>
|
||||
<asp:Literal ID="LtlEvento" runat="server" Text='<%# Eval("Evento")%>'></asp:Literal>
|
||||
</ItemTemplate>
|
||||
<HeaderTemplate>Evento</HeaderTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField>
|
||||
<ItemTemplate>
|
||||
<asp:Literal ID="LtlNumAsistentes" runat="server" Text='<%# Eval("Cantidad", "{0:N0}")%>'></asp:Literal>
|
||||
</ItemTemplate>
|
||||
<HeaderTemplate>Cantidad de Asistentes</HeaderTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField>
|
||||
<ItemTemplate>
|
||||
<asp:Literal ID="LtlFechaEvento" runat="server" Text='<%# Eval("FechaEvento", "{0:d}")%>'></asp:Literal>
|
||||
</ItemTemplate>
|
||||
<HeaderTemplate>Fecha del Evento</HeaderTemplate>
|
||||
</asp:TemplateField>
|
||||
</Columns>
|
||||
<AlternatingRowStyle CssClass="TextoAlterno" />
|
||||
<RowStyle CssClass="Texto" />
|
||||
<HeaderStyle CssClass="Titulos" />
|
||||
</asp:GridView>
|
||||
</ContentTemplate>
|
||||
</asp:UpdatePanel>
|
||||
</asp:Content>
|
||||
<asp:Content ID="Content6" ContentPlaceHolderID="C" runat="Server">
|
||||
<asp:ImageButton ID="ImgExcel" runat="server" ImageUrl="/Imagenes/IconoExcel.gif" Width="17px" Height="17px" />
|
||||
</asp:Content>
|
||||
<asp:Content ID="Content7" ContentPlaceHolderID="JS" runat="Server">
|
||||
<script type="text/javascript">
|
||||
var SelectedRow = null;
|
||||
var SelectedRowIndex = null;
|
||||
var UpperBound = null;
|
||||
var LowerBound = null;
|
||||
|
||||
|
||||
window.onload = function () {
|
||||
UpperBound = parseInt('<%= GvDatos.Rows.Count%>') - 1;
|
||||
LowerBound = 0;
|
||||
SelectedRowIndex = -1;
|
||||
}
|
||||
|
||||
function SelectRow(CurrentRow, RowIndex) {
|
||||
if (SelectedRow == CurrentRow || RowIndex > UpperBound || RowIndex < LowerBound)
|
||||
return;
|
||||
|
||||
if (SelectedRow != null) {
|
||||
SelectedRow.style.backgroundColor = SelectedRow.originalBackgroundColor;
|
||||
SelectedRow.style.color = SelectedRow.originalForeColor;
|
||||
}
|
||||
|
||||
if (CurrentRow != null) {
|
||||
CurrentRow.originalBackgroundColor = CurrentRow.style.backgroundColor;
|
||||
CurrentRow.originalForeColor = CurrentRow.style.color;
|
||||
CurrentRow.style.backgroundColor = '#65b0bf';
|
||||
CurrentRow.style.color = 'Black';
|
||||
}
|
||||
|
||||
SelectedRow = CurrentRow;
|
||||
SelectedRowIndex = RowIndex;
|
||||
setTimeout("SelectedRow.focus();", 0);
|
||||
}
|
||||
|
||||
function SelectSibling(e) {
|
||||
var e = e ? e : window.event;
|
||||
var KeyCode = e.which ? e.which : e.keyCode;
|
||||
|
||||
if (KeyCode == 40) {
|
||||
SelectRow(SelectedRow.nextSibling, SelectedRowIndex + 1);
|
||||
}
|
||||
else if (KeyCode == 38) {
|
||||
SelectRow(SelectedRow.previousSibling, SelectedRowIndex - 1);
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
function EC() {
|
||||
event.cancelBubble = true;
|
||||
if (event.stopPropagation)
|
||||
event.stopPropagation();
|
||||
|
||||
}
|
||||
|
||||
</script>
|
||||
|
||||
<%-- <asp:UpdatePanel ID="UPFiltros" runat="server" UpdateMode="Conditional">
|
||||
<ContentTemplate>
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="100%">
|
||||
<td style="width: 80px;"> Agrupador</td>
|
||||
<td style="width: 100px;">
|
||||
<asp:DropDownList ID="DdlAgrupador" runat="server" AppendDataBoundItems="true" Width="100px">
|
||||
<asp:ListItem Text="Municipio" Value="1"></asp:ListItem>
|
||||
<asp:ListItem Text="Clasificacion" Value="2"></asp:ListItem>
|
||||
<asp:ListItem Text="Vendedor" Value="3"></asp:ListItem>
|
||||
<asp:ListItem Text="Tipo de Prospecto" Value="4"></asp:ListItem>
|
||||
<asp:ListItem Text="Fecha" Value="5"></asp:ListItem>
|
||||
</asp:DropDownList>
|
||||
</td>
|
||||
<td align="left" style="border-left-style: solid; border-left-color: Blue; border-left-width: 1px;"><asp:Button ID="BtnConsultar" runat="server" Text="Consultar" /></td>
|
||||
</tr>
|
||||
</table>
|
||||
</ContentTemplate>
|
||||
</asp:UpdatePanel>--%>
|
||||
<%--1640--%>
|
||||
</asp:Content>
|
||||
Reference in New Issue
Block a user