日期:2014-05-17  浏览次数:20595 次

.net中使用上传控件jq uploadify求解决方法
前台上传部分主要代码:
   <table border="0" cellpadding="0" cellspacing="0" width="100%">
                <tr>
                    <td>照片日期:</td>
                    <td><asp:TextBox ID="txtPicDate" runat="server" ></asp:TextBox></td>
                </tr>
                <tr>
                    <td>照片标题:</td>
                    <td><asp:TextBox ID="txtPicTitle" runat="server" Width="80%" 
                            ValidationGroup="vgPicValidation" MaxLength="15"></asp:TextBox></td>
                </tr>
                <tr>
                    <td style="width:15%">添加照片:</td>
                    <td>
                        <div id="fileQueue"></div>    
                        <input type="file" name="uploadify" id="uploadify"/>    
                        <p>      
                            <a href="javascript:$('#uploadify').uploadifyUpload()">上传</a>|<a href="javascript:$('#uploadify').uploadifyClearQueue()">取消上传</a>
                        </p>