<%@ Page Title="" Language="C#" EnableEventValidation = "false" MasterPageFile="~/Admin/SiteMenu.Master" AutoEventWireup="true" CodeBehind="BS_ScoreOrderAvg.aspx.cs" Inherits="Project25175.BS_ScoreOrderAvg" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <script type="text/javascript">
        //后台调用,区分提示信息底色
        //Danger,Info
        function ChangeMsgClass(MsgType) {
            if (MsgType == "Danger") 
            {
                DivMsg.className = 'alert alert-danger';
            }
            else 
            {
                DivMsg.className = 'alert alert-info';
            }
        }
    </script>

</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">

    <div class="breadcrumbs" id="breadcrumbs">
		<script type="text/javascript">
			try { ace.settings.check('breadcrumbs', 'fixed') } catch (e) { }
		</script>
		<ul class="breadcrumb">
			<li>
				<i class="<%=PageIcon %>"></i>
                平均分排名
			</li>
		</ul>
	</div>

    <div class="page-content">
        <div class="row col-xs-12">
            <div id="DivMsg" class="alert alert-info">
                <i class="icon-hand-right"></i>
                <asp:Label ID="LabMsg" runat="server" Text=" "></asp:Label>
			    <button class="close" data-dismiss="alert">
                <i class="icon-remove"></i>
                </button>
            </div>
        </div>

        <div class="page-header">
            <div class="col-xs-12 widget-box">
                <asp:Button ID="BtExport" runat="server" Text="导出" Visible="false"
                    CssClass="btn btn-success btn-sm" onclick="BtExport_Click" />



                <asp:DropDownList ID="DDLProfession" runat="server" AutoPostBack="True" 
                    onselectedindexchanged="DDLProfession_SelectedIndexChanged">                       
                </asp:DropDownList>
                <asp:DropDownList ID="DDLGrade" runat="server" AutoPostBack="True" 
                    onselectedindexchanged="DDLGrade_SelectedIndexChanged">                       
                </asp:DropDownList>
                <asp:DropDownList ID="DDLClass" runat="server" AutoPostBack="True" 
                    onselectedindexchanged="DDLClass_SelectedIndexChanged">                       
                </asp:DropDownList>
                <asp:DropDownList ID="DDLGradeTerm" runat="server" AutoPostBack="True" 
                    onselectedindexchanged="DDLGradeTerm_SelectedIndexChanged">                       
                </asp:DropDownList>
                <asp:DropDownList ID="DDLTerm" runat="server" AutoPostBack="True" 
                    onselectedindexchanged="DDLTerm_SelectedIndexChanged">                       
                </asp:DropDownList>                
                <asp:DropDownList ID="DDLSubName" runat="server">                       
                </asp:DropDownList>



                <%--<asp:DropDownList ID="DDLSchTimeID" runat="server" AutoPostBack="True" 
                    onselectedindexchanged="DDLSchTimeID_SelectedIndexChanged">                       
                </asp:DropDownList>                
                <asp:DropDownList ID="DDLGrade" runat="server" AutoPostBack="True" 
                    onselectedindexchanged="DDLGrade_SelectedIndexChanged">                       
                </asp:DropDownList>
                <asp:DropDownList ID="DDLClass" runat="server" AutoPostBack="True" 
                    onselectedindexchanged="DDLClass_SelectedIndexChanged">                       
                </asp:DropDownList>
                <asp:DropDownList ID="DDLSubName" runat="server">                       
                </asp:DropDownList>--%>

                <asp:Button ID="BtSearch" runat="server"  CssClass="btn btn-success btn-sm hidden" 
                    Text="查找" onclick="BtSearch_Click" />
				<span>
					<a href="#"><i class="icon-search nav-search-icon green bigger-140 sender" id="idsearch" title="查找"></i></a>
				</span>
            </div>
        </div>

        <asp:Panel runat="server" Visible="false" ID="PanelData">
            <div class="row">
	            <div class="col-xs-12">
		            <div class="table-responsive">
                        <asp:GridView ID="GridView1" runat="server" 
                            CssClass="table table-striped table-bordered table-hover" 
                            AutoGenerateColumns="True" AllowPaging="True" 
                            OnPageIndexChanging="GridView1_PageIndexChanging" >
                            <Columns>
                            </Columns>
                            <PagerSettings Mode="NumericFirstLast" />
                        </asp:GridView>
		            </div><!-- /.table-responsive -->
	            </div><!-- /span -->
            </div>
        </asp:Panel>
    </div>

</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder_Footer" runat="server">

    <script type="text/javascript" src="../assets/js/jquery-2.0.3.min.js"></script>

	<script type="text/javascript">
		window.jQuery || document.write("<script src='../assets/js/jquery-2.0.3.min.js'>" + "<" + "/script>");
	</script>

	<script type="text/javascript">
		if ("ontouchend" in document) document.write("<script src='../assets/js/jquery.mobile.custom.min.js'>" + "<" + "/script>");
	</script>
	<script type="text/javascript" src="../assets/js/bootstrap.min.js"></script>
	<script type="text/javascript" src="../assets/js/typeahead-bs2.min.js"></script>
    

	<!-- page specific plugin scripts -->
    <!-- page specific plugin scripts -->

	<script type="text/javascript" src="../assets/js/jquery-ui-1.10.3.full.min.js"></script>
	<script type="text/javascript" src="../assets/js/jquery.ui.touch-punch.min.js"></script>

	<!-- ace scripts -->

	<script type="text/javascript" src="../assets/js/ace-elements.min.js"></script>
	<script type="text/javascript" src="../assets/js/ace.min.js"></script>
    <script type="text/javascript" src="../assets/js/bootbox.min_25175.js"></script>

    <script type="text/javascript">

        jQuery(function ($) {
            //查询
            $('#idsearch').on('click', function (e) {
                bootbox.dialog({
                    //图片和文字提示
                    //message: "<img src='../assets/css/images/loading.gif'> 执行中……"
                    //进度条提示
                    message: " <div id='progressbar'></div>"
                });

                //progressbar 进度条样式
                $("#progressbar").progressbar({
                    value: 100,
                    create: function (event, ui) {
                        $(this).addClass('progress progress-striped active')
							   .children(0).addClass('progress-bar progress-bar-success');
                    }
                });

                //执行按钮事件
                document.getElementById('<%=BtSearch.ClientID %>').click();

            });

        });
    </script>


</asp:Content>
