184 lines
12 KiB
Plaintext
184 lines
12 KiB
Plaintext
<%@ Page Title="" Language="VB" MasterPageFile="~/Site.master" AutoEventWireup="false" CodeFile="RepMetas2.aspx.vb" Inherits="Prospectos_RepMetas2" %>
|
|
|
|
<asp:Content ID="Content1" ContentPlaceHolderID="H" runat="Server">
|
|
</asp:Content>
|
|
<asp:Content ID="Content2" ContentPlaceHolderID="E" runat="Server">
|
|
<asp:Label ID="LblNombre" runat="server" Text=""></asp:Label>
|
|
</asp:Content>
|
|
<asp:Content ID="Content3" ContentPlaceHolderID="C" runat="Server">
|
|
|
|
<br />
|
|
<ajax:TabContainer ID="Tab" runat="server" ActiveTabIndex="0" Width="100%">
|
|
<ajax:TabPanel ID="TabAlta" runat="server" HeaderText="Información General">
|
|
<ContentTemplate>
|
|
|
|
<asp:GridView ID="Gv" runat="server" AutoGenerateColumns="False">
|
|
<RowStyle CssClass="Texto" />
|
|
<AlternatingRowStyle CssClass="TextoAlterno" />
|
|
<HeaderStyle CssClass="Titulos"></HeaderStyle>
|
|
<Columns>
|
|
<asp:TemplateField HeaderText="%">
|
|
<ItemTemplate>
|
|
<asp:HyperLink ID="Hpl" runat="server" CssClass="Texto" NavigateUrl='<%# Eval("CveProspecto","RepMetas2.aspx?CveProspecto={0}") %>' Text='<%# Eval("NombreCompleto")%>'></asp:HyperLink>
|
|
</ItemTemplate>
|
|
<ItemStyle Width="300px"></ItemStyle>
|
|
</asp:TemplateField>
|
|
<asp:BoundField DataField="Hijos" HeaderText="#" DataFormatString="{0:##,###}" />
|
|
<asp:BoundField DataField="MetaGlobal" HeaderText="Meta" DataFormatString="{0:##,###}" />
|
|
<asp:TemplateField HeaderText="%">
|
|
<ItemTemplate>
|
|
<asp:Literal ID="LitPor" runat="server" ></asp:Literal>
|
|
</ItemTemplate>
|
|
<ItemStyle Width="50px"></ItemStyle>
|
|
</asp:TemplateField>
|
|
<asp:BoundField DataField="UltimoIngreso" DataFormatString="{0:d}" HeaderText="último Ingreso" />
|
|
</Columns>
|
|
</asp:GridView>
|
|
</ContentTemplate>
|
|
</ajax:TabPanel>
|
|
<ajax:TabPanel ID="TabEncuestas" runat="server" HeaderText="Encuestas">
|
|
<ContentTemplate>
|
|
|
|
|
|
<asp:UpdatePanel ID="UPPEnc" runat="server" UpdateMode="Conditional">
|
|
<ContentTemplate>
|
|
|
|
<table border="0" cellpadding="0">
|
|
<tr>
|
|
<td>Encuestas</td>
|
|
<td>
|
|
<asp:DropDownList ID="DdlEncuesta" runat="server" DataTextField="Encuesta" DataValueField="CveEncuesta" Width="500px" AutoPostBack="True"></asp:DropDownList>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
<table width="100%"><tr><td>
|
|
<asp:CHART id="ChtGral" runat="server" Visible="false" Palette="BrightPastel" BackColor="WhiteSmoke" Height="296px" Width="650px" BorderlineDashStyle="Solid" BackSecondaryColor="White" BackGradientStyle="TopBottom" BorderWidth="2" BorderColor="26, 59, 105" ImageLocation="~/TempImages/ChartPic_#SEQ(300,3)">
|
|
<titles>
|
|
<asp:Title ShadowColor="32, 0, 0, 0" Font="Trebuchet MS, 14.25pt, style=Bold" ShadowOffset="3" Text="Encuesta General" Name="Title1" ForeColor="26, 59, 105"></asp:Title>
|
|
</titles>
|
|
<legends>
|
|
<asp:Legend BackColor="Transparent" Alignment="Near" Docking="Right" Font="Trebuchet MS, 8.25pt, style=Bold" IsTextAutoFit="False" Name="Default" LegendStyle="Column"></asp:Legend>
|
|
</legends>
|
|
<borderskin SkinStyle="Emboss"></borderskin>
|
|
<series>
|
|
<asp:Series Name="Default" ChartType="Pie" BorderColor="180, 26, 59, 105" Color="220, 65, 140, 240" Label="#PERCENT{P2}" LegendText="#VALX - #VALY"></asp:Series>
|
|
</series>
|
|
<chartareas>
|
|
<asp:ChartArea Name="ChartArea1" BorderColor="64, 64, 64, 64" BackSecondaryColor="Transparent" BackColor="Transparent" ShadowColor="Transparent" BorderWidth="0">
|
|
<area3dstyle Rotation="0" />
|
|
<axisy LineColor="64, 64, 64, 64">
|
|
<LabelStyle Font="Trebuchet MS, 8.25pt, style=Bold" />
|
|
<MajorGrid LineColor="64, 64, 64, 64" />
|
|
</axisy>
|
|
<axisx LineColor="64, 64, 64, 64">
|
|
<LabelStyle Font="Trebuchet MS, 8.25pt, style=Bold" />
|
|
<MajorGrid LineColor="64, 64, 64, 64" />
|
|
</axisx>
|
|
</asp:ChartArea>
|
|
</chartareas>
|
|
</asp:CHART>
|
|
</td><td><asp:GridView ID="GvEstatus" runat="server" AutoGenerateColumns="False">
|
|
<Columns>
|
|
<asp:TemplateField ItemStyle-Width="200px" HeaderText="Resultados">
|
|
<ItemTemplate>
|
|
<asp:Literal ID="LtlGpo" runat="server" Text='<%# Eval("EncuestaEstatus")%>'></asp:Literal>
|
|
</ItemTemplate>
|
|
</asp:TemplateField>
|
|
<asp:TemplateField ItemStyle-Width="50px" HeaderText="Total">
|
|
<ItemTemplate>
|
|
<asp:Hyperlink ID="LtlCantidad" CssClass="Texto" runat="server" Text='<%# Eval("Total", "{0:N0}")%>'></asp:Hyperlink>
|
|
</ItemTemplate>
|
|
</asp:TemplateField>
|
|
</Columns>
|
|
<AlternatingRowStyle CssClass="TextoAlterno" />
|
|
<RowStyle CssClass="Texto" />
|
|
<HeaderStyle CssClass="Titulos" />
|
|
</asp:GridView>
|
|
</td></tr></table>
|
|
<hr/>
|
|
<asp:GridView ID="GvE" runat="server" AutoGenerateColumns="False" EmptyDataText="No se encontraron Prospectos Registrados" ShowHeader="True">
|
|
<Columns>
|
|
<asp:TemplateField ItemStyle-Width="990px" HeaderText="">
|
|
<ItemTemplate>
|
|
<br/>
|
|
<table width="100%"><tr><td colspan="2" style="text-align: left;"> <asp:Label ID="LtlGpo" runat="server" Font-Size="15px" Text='<%# Eval("Agrupador")%>'></asp:Label></td></tr>
|
|
<tr><td><asp:GridView ID="GvE" runat="server" AutoGenerateColumns="False" EmptyDataText="No se encontraron Prospectos Registrados" ShowHeader="True" OnRowDataBound="GvEE_RowDataBound">
|
|
<Columns>
|
|
<asp:TemplateField ItemStyle-Width="200px" HeaderText="Respuestas">
|
|
<ItemTemplate>
|
|
|
|
|
|
<asp:Literal ID="LtlGpo" runat="server" Text='<%# Eval("Agrupador")%>'></asp:Literal>
|
|
</ItemTemplate>
|
|
</asp:TemplateField>
|
|
|
|
<asp:TemplateField ItemStyle-Width="50px" HeaderText="Total">
|
|
<ItemTemplate>
|
|
<asp:HyperLink ID="LtlCantidad" CssClass="Texto" runat="server" Text='<%# Eval("Total", "{0:N0}")%>'></asp:HyperLink>
|
|
</ItemTemplate>
|
|
</asp:TemplateField>
|
|
<asp:TemplateField ItemStyle-Width="50px" HeaderText="%">
|
|
<ItemTemplate>
|
|
<asp:Literal ID="LtlPor" runat="server" Text='<%# Eval("Porcentaje", "{0:N2}%")%>'></asp:Literal>
|
|
</ItemTemplate>
|
|
</asp:TemplateField>
|
|
|
|
</Columns>
|
|
<HeaderStyle BackColor="lightgray" />
|
|
</asp:GridView></td><td>
|
|
<asp:CHART id="ChtPie" runat="server" Palette="BrightPastel" BackColor="WhiteSmoke" Height="296px" Width="412px" BorderlineDashStyle="Solid" BackSecondaryColor="White" BackGradientStyle="TopBottom" BorderWidth="2" BorderColor="26, 59, 105" ImageLocation="~/TempImages/ChartPic_#SEQ(300,3)">
|
|
<titles>
|
|
<asp:Title ShadowColor="32, 0, 0, 0" Font="Trebuchet MS, 14.25pt, style=Bold" ShadowOffset="3" Text="Gráfica" Name="Title1" ForeColor="26, 59, 105"></asp:Title>
|
|
</titles>
|
|
<legends>
|
|
<asp:Legend BackColor="Transparent" Alignment="Center" Docking="Bottom" Font="Trebuchet MS, 8.25pt, style=Bold" IsTextAutoFit="False" Name="Default" LegendStyle="Row"></asp:Legend>
|
|
</legends>
|
|
<borderskin SkinStyle="Emboss"></borderskin>
|
|
<series>
|
|
<asp:Series Name="Default" ChartType="Pie" BorderColor="180, 26, 59, 105" Color="220, 65, 140, 240"></asp:Series>
|
|
</series>
|
|
<chartareas>
|
|
<asp:ChartArea Name="ChartArea1" BorderColor="64, 64, 64, 64" BackSecondaryColor="Transparent" BackColor="Transparent" ShadowColor="Transparent" BorderWidth="0">
|
|
<area3dstyle Rotation="0" />
|
|
<axisy LineColor="64, 64, 64, 64">
|
|
<LabelStyle Font="Trebuchet MS, 8.25pt, style=Bold" />
|
|
<MajorGrid LineColor="64, 64, 64, 64" />
|
|
</axisy>
|
|
<axisx LineColor="64, 64, 64, 64">
|
|
<LabelStyle Font="Trebuchet MS, 8.25pt, style=Bold" />
|
|
<MajorGrid LineColor="64, 64, 64, 64" />
|
|
</axisx>
|
|
</asp:ChartArea>
|
|
</chartareas>
|
|
</asp:CHART>
|
|
</td></tr>
|
|
|
|
</table>
|
|
|
|
|
|
<br/>
|
|
|
|
|
|
</ItemTemplate>
|
|
</asp:TemplateField>
|
|
|
|
<%--<asp:BoundField />--%>
|
|
</Columns>
|
|
<AlternatingRowStyle CssClass="TextoAlterno" />
|
|
<RowStyle CssClass="Texto" />
|
|
<HeaderStyle CssClass="Titulos" />
|
|
</asp:GridView>
|
|
</ContentTemplate>
|
|
</asp:UpdatePanel>
|
|
</ContentTemplate>
|
|
</ajax:TabPanel>
|
|
|
|
<ajax:TabPanel ID="TabA" runat="server" HeaderText="Voy" Visible="False">
|
|
<ContentTemplate>
|
|
</ContentTemplate>
|
|
</ajax:TabPanel>
|
|
</ajax:TabContainer>
|
|
</asp:Content>
|
|
|