mautrung09 / jquery-multifile-plugin

Automatically exported from code.google.com/p/jquery-multifile-plugin
0 stars 0 forks source link

Its not possible to change the MultiFile Options like 'list' under ASP.Net #74

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago

What steps will reproduce the problem?
1.I am using Visual Studio 2008, ASP.Net 3.5 to build a absolutely 
minimalistic Test-Multi Upload WebApplication. Below is my code.
2. I am using Internet Explorer 7

What is the expected output? What do you see instead?
I want to show the selected files in an separate div and instead of 'x' i 
swant to sho an image. But both isnt working. The file upload IS WORKING 
FINE! But only the options arent working!

<%@ Page Language="vb" AutoEventWireup="false" 
CodeBehind="Default.aspx.vb" Inherits="EBILAFileUpload._Default" %>
<!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>File Upload Test</title>
    <link rel="stylesheet" media="all" type="text/css" 
href="style/style.css" />
    <script type="text/javascript" src="js/jquery-1.4.2.min.js"></script>
    <script type="text/javascript" src="js/jquery.MultiFile.js"></script>
    <script type="text/javascript">
        $(function(){
            $('#FileUpload1').MultiFile({
                list:'#T7-list'
            });
        });
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <div id="wrapper">
            <div id="uploadform" runat="server">
                <asp:FileUpload ID="FileUpload1" runat="server" 
class="multi" /> 
                <br />
                <div id="T7-list" style="border:#999 solid 3px; 
padding:10px;">
                    This is div#T7-list - selected files will be populated 
here...
                    <br/><br/>
                </div>
                <asp:Button ID="btnUpload" runat="server" Text="Dateien 
hochladen" />&nbsp;
                <asp:Button ID="btnCancel" runat="server" 
Text="Abbrechen" />
                <br />
            </div>
            <asp:Label ID="msg" runat="server" Text="" 
EnableViewState="false"></asp:Label>
        </div>
    </div>
    </form>
</body>
</html>

What version of the plugin/jQuery are you using?
PLUGIN VERSION: 1.47
JQUERY VERSION: 1.4.2

On what browser(s) or operating system?
BROWSER(S): Windows XP with IE 7

Please provide a link to where the problem can be observed:
URL: it actually on an local webserver

thank you
regards
yavuz

my email address is

yavuz.bogazci@googlemail.com

Original issue reported on code.google.com by yavuz.bo...@gmail.com on 20 May 2010 at 2:46

GoogleCodeExporter commented 9 years ago
Same problem for me :(

Original comment by minik...@gmail.com on 18 Jul 2010 at 12:26

GoogleCodeExporter commented 9 years ago
I have the same problem. I don't understand..

Original comment by tisa...@gmail.com on 16 Sep 2010 at 1:23

GoogleCodeExporter commented 9 years ago
I found a solution.
To add an image, you can modify jquery.MultiFile.js line 477.

Replace 
remove:'x',
by 
remove:'<img src="image link" height="14" width="14" alt="x"/>',

You don't need to add option by thy way.

Original comment by tisa...@gmail.com on 16 Sep 2010 at 3:44

GoogleCodeExporter commented 9 years ago
I had same problem, but I solved it by removing class="multi" from file input 
field.

Original comment by k2p...@gmail.com on 23 Dec 2010 at 9:45

GoogleCodeExporter commented 9 years ago
The project has been dormant for over a year and many of the support requests 
have been resolved and/or are invalid. So we're going to archive them all, 
pending review.

If you're still having a problem with the plugin, please visit the project page 
and re-open the issue. We do apologize for any inconvenience this may cause, 
but please bear with us...  we'll be making improvements to the plugin and its 
documentation over the coming weeks.

Stay tuned; and thanks for your support!

The Fyneworks Team
http://twitter.com/fyneworks

Original comment by fyneworks on 26 Jan 2012 at 1:37