<%@ control language="C#" autoeventwireup="true" classname="FileUploader" inherits="ims.web.FileUploader, ims.web" %>
<asp:UpdatePanel ID="fuPanel" runat="server" UpdateMode="Conditional" OnPreRender="AttachSorting" RenderMode="Inline">
<ContentTemplate>
    <table class="uploader" cellspacing="0">
        <tr>
            <td rowspan="2" valign="top">
                <asp:CheckBoxList ID="cblFiles" runat="server" CssClass="filesArea cbl" EnableTheming="false" RepeatLayout="Flow" RepeatDirection="horizontal" CellSpacing="0" CellPadding="0"></asp:CheckBoxList>                
            </td>
            <td class="upload" runat="server" id="upload">
                <input type="file" id="f" class="f" contenteditable="false" runat="server" />
            </td>
        </tr>
        <tr>
            <td valign="bottom" runat="server" id="tdDel">
                <asp:ImageButton ID="btnDel" CssClass="pointer" runat="server" OnClick="delFiles" ImageUrl="~/images/del.gif" ToolTip="删除选中的文件" CausesValidation="false" />
            </td>
        </tr>
    </table>
    <asp:HiddenField runat="server" ID="arg" />
    <input type="button" causesvalidation="false" runat="server" id="btn" class="hide" onserverclick="showFiles" />
</ContentTemplate>
</asp:UpdatePanel>