<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="autolist.aspx.cs" Inherits="Us.Web.admin.auto.autolist" %>

<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>

<%@ Register assembly="Us.FrameWork.UsTools" namespace="Us.FrameWork" tagprefix="cc1" %>





<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8,chrome=1" />
    <title><asp:Literal ID="litAutoTitle1" runat="server"></asp:Literal></title>
    <link href="../style/default/style.css" rel="stylesheet" type="text/css" />
     <%=ImportScriptStr %>
    <script type="text/javascript">
        function btnAutoSubmit() {
            document.getElementById("btnSearch").click();
        }
    </script>
</head>
<body>
    <form id="Form2" method="post" runat="server">
    <div class="divTbg">
      <div class="divTbgL"></div>
      <div class="divTbgInfo">
        <div class="divTbgTitle"><asp:Literal ID="litAutoTitle4" runat="server"></asp:Literal></div>
      </div>
    </div>
    <div class="divTbgF"></div>
    <div class="divSearchBoth">
        <div class="divInfo">
            <div class="divInfoblack">
                <div class="divInfoTopList">
                    <div class="listLeft">
                        <div class="navsearchtitle">
                           <asp:Literal ID="litAutoTitle2" runat="server"></asp:Literal>搜索</div>
                    </div>
                </div>
            </div>
        </div>
        <div class="divInfo">
            <div class="divSearch">
                <div id="searchBox" class="clearsearch">
                     <asp:Panel ID="Panel1" runat="server"></asp:Panel>
                     <p id="searchSubmit">
                     
                        <asp:Button ID="btnSearch" runat="server" CommandName="search" OnCommand="btnSearch_Click"  CssClass="SkyButtonFocus" Text="确认搜索"/>
                    </p><asp:Literal ID="Literal1" runat="server"></asp:Literal>
                </div>
            </div>
        </div>
    </div>
    <div class="divInfo">
        <div class="divInfoblack">
            <div class="divInfoTopList">
                <div class="listLeft">
                    <div class="navtitle">
                        <asp:Literal ID="litAutoTitle3" runat="server"></asp:Literal>详细</div>
                </div>
                <div class="listRight">
                    <ul>
                        <asp:Panel ID="Panel2" runat="server"></asp:Panel>   
                    </ul>
                </div>
            </div>
        </div>
    </div>
    <div class="divInfo">
        <div class="divInfoContext">
                        <asp:GridView ID="gvList" runat="server" AutoGenerateColumns="False" OnSorting="gvList_Sorting"
                                     AllowSorting="True" EmptyDataText="没有要查询的数据"  CssClass="tablist"
                                     GridLines="None"   Width="100%"  CellPadding="0" BorderStyle="None"  CellSpacing="1"
                                    EnableModelValidation="True" onrowdatabound="gvList_RowDataBound">
                                    <PagerSettings Visible="False" />
                                    <RowStyle CssClass="tablisttr" HorizontalAlign="Center" />
                                     <HeaderStyle  CssClass="tablisttitle" HorizontalAlign="Center"></HeaderStyle>
                                   <Columns> 
                                        <asp:TemplateField>
                                        <HeaderTemplate>
                                          <input type="checkbox" id="chkAll" onClick="selectallenabled();">
                                        </HeaderTemplate>
                                        <ItemTemplate>
                                          <input type="checkbox" runat="server" id="Checkbox1" title='<%#Eval("ID") %>' 
                                          value='<%#Eval("ID") %>' visible='<%#(Eval("SelectState")).ToString()=="1"? false: true%>'/>
                                        </ItemTemplate>
                                      </asp:TemplateField>
                                 </Columns>
                                   
                                </asp:GridView>
                                <cc1:UsChart ID="UsChart1" runat="server" ChartHeight="450px" />
   
        </div>
    </div>
    <div class="divInfo">
        <webdiyer:aspnetpager id="Pager" runat="server" AlwaysShow="True" OnPageChanged="Pager_PageChanged"
         ShowCustomInfoSection="Left" ShowPageIndexBox="Always" showpageindex="False"
               CustomInfoHTML="共 <B>%PageCount%</B> 页，当前为第 <B>%CurrentPageIndex%</B> 页，每页 <B>%PageSize%</B> 条" 
               SubmitButtonText="" FirstPageText="首页" LastPageText="尾页" 
               LayoutType="Table" NextPageText="后一页" PrevPageText="前一页" ShowMoreButtons="False" 
               TextAfterPageIndexBox="页" TextBeforePageIndexBox="转到" 
               CustomInfoTextAlign="Left" HorizontalAlign="Right"></webdiyer:aspnetpager>
    </div>
    </form>
</body>
</html>



                                
                                
                                
                                 




    
