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

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

http://blpm.googlecode.com/
ASP.NET | 110 lines | 107 code | 3 blank | 0 comment | 2 complexity | 69cb6c1da4564bac281a281e49e9cfae 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    <div id="divAccion" runat="server">
 26        <table class="tablaInterna" cellpadding="0" cellspacing="0">
 27            <tr>
 28                <td>
 29                    <h2>
 30                        Boletín Académico</h2>
 31                    <br />
 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        </table>
 39        <table class="tablaInterna" border="0" cellpadding="1" cellspacing="5">
 40            <tr>
 41                <td class="TD25" valign="top">
 42                    <table class="tablaInternaSinBorde" cellpadding="1" cellspacing="5" border="0">
 43                        <tr>
 44                            <td valign="top" class="TD100px">
 45                                <asp:Label ID="lblAccion" runat="server" Text="Consultar:" Font-Bold="false" CssClass="lblCriterios"></asp:Label>
 46                            </td>
 47                            <td rowspan="3">
 48                                <asp:RadioButtonList ID="rdlAccion" runat="server" OnSelectedIndexChanged="rdlAccion_OnSelectedIndexChanged"
 49                                    AutoPostBack="true">
 50                                    <asp:ListItem Text="Calificaciones" Value="0" Selected="true" />
 51                                    <asp:ListItem Text="Inasistencias" Value="1" />
 52                                    <asp:ListItem Text="Sanciones" Value="2" />
 53                                </asp:RadioButtonList>
 54                            </td>
 55                        </tr>
 56                    </table>
 57                </td>
 58                <td class="TD75" valign="top">
 59                    <div id="divFiltros" runat="server">
 60                        <table class="tablaInternaSinBorde" cellpadding="1" cellspacing="5">
 61                            <tr>
 62                                <td class="TD100px">
 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="TD100px">
 72                                    <asp:Label ID="lblPeriodo" runat="server" Text="Periodo:" CssClass="lblCriterios"></asp:Label>
 73                                </td>
 74                                <td valign="top">
 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                            </tr>
 83                            <tr>
 84                                <td valign="top" class="TD100px">
 85                                    <asp:Label ID="lblAsignatura" runat="server" Text="Asignatura:" CssClass="lblCriterios"></asp:Label>
 86                                </td>
 87                                <td valign="top">
 88                                    <asp:UpdatePanel ID="udpAsignatura" runat="server" UpdateMode="Conditional">
 89                                        <ContentTemplate>
 90                                            <select data-placeholder="[Seleccione]" style="width: 100%" multiple="true" class="chzn-select"
 91                                                runat="server" id="ddlAsignatura" enableviewstate="true">
 92                                            </select>
 93                                        </ContentTemplate>
 94                                        <Triggers>
 95                                            <asp:AsyncPostBackTrigger ControlID="ddlAlumnosTutor" EventName="SelectedIndexChanged" />
 96                                        </Triggers>
 97                                    </asp:UpdatePanel>
 98                                </td>
 99                            </tr>
100                        </table>
101                        <script type="text/javascript">                            $(".chzn-select").chosen();</script>
102                    </div>
103                </td>
104            </tr>
105        </table>
106    </div>
107    <div id="divReporte" runat="server">
108        <rep:Reporte ID="rptResultado" runat="server"></rep:Reporte>
109    </div>
110</asp:Content>