<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="GridTest.aspx.cs" Inherits="XpShop.Manage.GridTest" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ Register assembly="XpShopGrid" namespace="XpShopGrid" tagprefix="XpShopGrid" %>
<html>
<head runat="server">
    <meta http-equiv="content-type" content='text/html;charset=utf-8'/>
    <title>GridTest1</title> 
    <link rel="stylesheet" href="style/main.css" type="text/css"/>
    <link href="inc/jqgrid/css/jquery-ui-1.7.1.custom.css" rel="stylesheet" type="text/css" />   
    <link href="inc/jqgrid/css/ui.jqgrid.hack.css" rel="stylesheet" type="text/css" /> 
    <link href="inc/jqgrid/css/ui.jqgrid.css" rel="stylesheet" type="text/css" />
    <script src="inc/jqgrid/jquery-1.4.2.min.js" type="text/javascript"></script>
    <script src="inc/jqgrid/grid.locale-cn.js" type="text/javascript"></script>        
    <script src="inc/jqgrid/jquery.jqGrid.min.js" type="text/javascript"></script>
     <script type="text/javascript">
        $(document).ready(function(){
            ph = $(window.parent.frames.right).height()-$('div.sub_container_title').height()-$('div.sub_container_operation').height()-30-30;
            //alert("ttt");
        });
     </script>
</head>
<body>
	<div class="container">
		<div class="sub_container">
		    <div class="sub_container_title"><a href="<%=AdminDefault%>" target="_top">桌面</a><img src="images/admin_title.jpg" height=9px width=8px align="absmiddle" />
		       单位列表
		    </div>
		    <div id="operation" class="sub_container_operation">
				<ul>
					<li><input type="button" id="btnAdd" value="添加" class="inputbtn" /></li>
					<li><input type="button" id="btnSearch" value="搜索" class="inputbtn" /></li>
				    <li><input type="button" id="btnDelete" value="删除" class="inputbtn" /></li>
				</ul>
		    </div>
		    <div class="clear"></div>
		    <div class="sub_container_content" style="padding:0px;">
		        <XpShopGrid:XpShopGrid ID="XpShopGrid1" runat="server" TableName="unit" Sortname="UID" Search="true" Add="true" Edit="true" Del="true" RowNum="3" Multiselect="true" AutoWidth="true" />
		    </div>
		  </div>
	</div>
</body>
</html>
