PageRenderTime 16ms CodeModel.GetById 11ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/Docs/07-Implementacion/Source/trunk/EDUAR_Regular/EDUAR/EDUAR_UI/Private/Alumnos/Boletin.aspx

http://blpm.googlecode.com/
ASP.NET | 108 lines | 105 code | 3 blank | 0 comment | 2 complexity | 0dcd432ad5de4dab093bcce29a2d83fd MD5 | raw file
  1<%@ Page Title="Boletín Alumno" Language="C#" MasterPageFile="~/EDUARMaster.Master"
  2    AutoEventWireup="true" CodeBehind="Boletin.aspx.cs" Inherits="EDUAR_UI.Boletin" %>
  3
  4<%@ MasterType VirtualPath="~/EDUARMaster.Master" %>
  5<%@ Register Src="~/UserControls/Reporte.ascx" TagName="Reporte" TagPrefix="rep" %>
  6<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
  7</asp:Content>
  8<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
  9    <script type="text/javascript">
 10        Sys.WebForms.PageRequestManager.getInstance().add_endRequest(EndRequestHandler);
 11        function EndRequestHandler(sender, args) {
 12            if (args.get_error() == undefined) {
 13                alertTest();
 14            }
 15        }
 16
 17        function alertTest() {
 18            $(document).ready(function () {
 19                $(".chzn-select").chosen();
 20            });
 21        }
 22
 23        alertTest();    
 24    </script>
 25    <h2>
 26        Boletín Académico</h2>
 27    <br />
 28    <div id="divAccion" runat="server">
 29        <table class="tablaInterna" cellpadding="0" cellspacing="0">
 30            <tr>
 31                <td align="left">
 32                </td>
 33                <td align="right" rowspan="2">
 34                    <asp:ImageButton ID="btnBuscar" OnClick="btnBuscar_Click" runat="server" ToolTip="Buscar"
 35                        ImageUrl="~/Images/botonBuscar.png" />
 36                </td>
 37            </tr>
 38            <tr>
 39                <td align="left">
 40                </td>
 41            </tr>
 42        </table>
 43        <table class="tablaInterna" cellpadding="1" cellspacing="5" border="0">
 44            <tr>
 45                <td valign="top" class="TDCriterios25">
 46                    <asp:Label ID="lblAccion" runat="server" Text="Consultar:" Font-Bold="true" CssClass="lblCriterios"></asp:Label>
 47                </td>
 48                <td rowspan="3" class="TDCriterios75">
 49                    <asp:RadioButtonList ID="rdlAccion" runat="server" OnSelectedIndexChanged="rdlAccion_OnSelectedIndexChanged"
 50                        AutoPostBack="true">
 51                        <asp:ListItem Text="Calificaciones" Value="0" Selected="true" />
 52                        <asp:ListItem Text="Inasistencias" Value="1" />
 53                        <asp:ListItem Text="Sanciones" Value="2" />
 54                    </asp:RadioButtonList>
 55                </td>
 56            </tr>
 57        </table>
 58    </div>
 59    <div id="divFiltros" runat="server">
 60        <table class="tablaInterna" cellpadding="1" cellspacing="5">
 61            <tr>
 62                <td>
 63                    <asp:Label ID="lblAlumnos" runat="server" Text="Alumno:" CssClass="lblCriterios"></asp:Label>
 64                </td>
 65                <td>
 66                    <asp:DropDownList ID="ddlAlumnosTutor" runat="server" AutoPostBack="true" OnSelectedIndexChanged="ddlAlumnosTutor_SelectedIndexChanged">
 67                    </asp:DropDownList>
 68                </td>
 69            </tr>
 70            <tr>
 71                <td valign="top" class="TDCriterios25">
 72                    <asp:Label ID="lblPeriodo" runat="server" Text="Periodo:" CssClass="lblCriterios"></asp:Label>
 73                </td>
 74                <td valign="top" class="TDCriterios25">
 75                    <asp:UpdatePanel ID="udpPeriodo" runat="server" UpdateMode="Conditional">
 76                        <ContentTemplate>
 77                            <asp:DropDownList ID="ddlPeriodo" runat="server">
 78                            </asp:DropDownList>
 79                        </ContentTemplate>
 80                    </asp:UpdatePanel>
 81                </td>
 82                <td class="TDCriterios50" colspan="2">
 83                </td>
 84            </tr>
 85            <tr>
 86                <td valign="top" class="TDCriterios25">
 87                    <asp:Label ID="lblAsignatura" runat="server" Text="Asignatura:" CssClass="lblCriterios"></asp:Label>
 88                </td>
 89                <td valign="top" class="TDCriterios75" colspan="3">
 90                    <asp:UpdatePanel ID="udpAsignatura" runat="server" UpdateMode="Conditional">
 91                        <ContentTemplate>
 92                            <select data-placeholder="Seleccione" style="width: 100%" multiple="true" class="chzn-select"
 93                                runat="server" id="ddlAsignatura" enableviewstate="true">
 94                            </select>
 95                        </ContentTemplate>
 96                        <Triggers>
 97                            <asp:AsyncPostBackTrigger ControlID="ddlAlumnosTutor" EventName="SelectedIndexChanged" />
 98                        </Triggers>
 99                    </asp:UpdatePanel>
100                </td>
101            </tr>
102        </table>
103        <script type="text/javascript">            $(".chzn-select").chosen();</script>
104    </div>
105    <div id="divReporte" runat="server">
106        <rep:Reporte ID="rptResultado" runat="server"></rep:Reporte>
107    </div>
108</asp:Content>