<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="PickResult.aspx.cs" Inherits="Webdisk.PickResult"  %>

<!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 runat="server">
    <title>提取结果</title>
    <link rel="stylesheet" type="text/css" href="themes/icon.css" />
    <link href="themes/default/easyui.css" rel="stylesheet" type="text/css" />
    <script src="js/jquery-1.7.1.min.js" type="text/javascript"></script>
    <script src="js/easyloader.js" type="text/javascript"></script>
    <link href="css/demo.css" rel="stylesheet" type="text/css" />
    <script src="js/Common.js" type="text/javascript"></script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <div>
            <div id="divPickResult" class="easyui-panel" title="" data-options="border:false,fit:true"
                style="overflow-x: hidden; overflow-y: auto;">
                <div id="pickResult" style="overflow-y: auto; overflow-x: hiddne;">
                </div>
            </div>
        </div>
    </div>
    </form>
</body>
</html>
<script type="text/javascript">
    $(function () {
        $("#pickResult").css("width", common.PageWidth()-10);
        $("#pickResult").css("height", common.PageHeight());
        using(['datagrid', 'pagination'], function () {
            $('#pickResult').datagrid({
                title: '以下是您提取的文件，请点击文件名下载！',
                loadMsg: "数据加载中，请稍后……",
                nowrap: true,
                striped: true,
                collapsible: false,
                rownumbers: true,
                showFooter: true,
                striped: true,
                fitColumns: true,
                url: 'FileSpaceHandler.ashx?cmd=GetPickList&pickcode=<% if(Request["pickcode"]!=null) Response.Write(Request["pickcode"].ToString()); %>',
                pageList: [10, 15, 20, 25, 30, 40, 50],
                pageSize: 20,
                pagination: true,
                sortName: 'FileName',
                sortOrder: 'asc',
                remoteSort: false,
                idField: 'id',
                columns: [[
                    { field: 'FileName', title: '文件名', width:750, align: 'left', fixed: true, sortable: true },
                    { field: 'FileSize', title: '大小', width: 80, align: 'center', sortable: true },
                    { field: 'FileExt', title: '文件类型', width: 80, align: 'center', sortable: true },
                    { field: 'UserName', title: '所属用户', width: 80, align: 'center', sortable: true }
                ]],
                onLoadSuccess: function () {
                },
                rownumbers: true

            });
        });
    });
</script>