creating a multiple image uploader like facebook in asp.net project - javascript

I have tried to create a multiple image uploader like facebook in my asp.net project.
It is working good in Firefox8, Chrome(15.0.874.121 m),
but the multiple uploader is not working in IE8 and Safari3.2.3.
Then I have tried it by using javascript custom dialog.
Now the problem is the dialog is working in IE only. Can't resolve this.
Qtn:
I have used file upload control like this
asp:FileUpload ID="fileUpload" runat="server" multiple="multiple" accept="image/gif,image/png">
But it is selecting only single file in IE 8 and Safari 3.2.3 whereas in Firefox 8 and in Chrome it is working properly.
Is there any other property to make it possible to select multiple file in all the browsers?

Generally jquery pjugins work in all browsers so maybe it will be a good idea to use this technology. You can easily add javascript/jquery code to your asp.net page.
Have look at this one http://www.uploadify.com/documentation/

Related

Javascript file selector without standard input type=file dialog

Is there any possibility to provide a file chooser integrated by the website instead showing them in a new window dialog?
in the browser? No you can't for security reasons but if you are making a HTML-JS-CSS application alike then you can use cordova or phonegap plugins to make a customizable file chooser
What do you think about a drag & drop?
Maybe this will help
https://www.filestack.com/

Multiple file selection

I'm playing with FileDrop library, to allow users to upload multiple files "one-shot" with IE11.
As documented, setting this property
zone.multiple(true);
is possible to select multiple files to be uploaded.
I noticed this strange behaviour.
If I download the sample package, setting the multiple property into filedrop.js and run it locally (open basic.html file whith IE) everything works fine.
If I put the same HTML code into an HTML form in Lotus Domino, multiple selection doesn't work.
I repeat, it only happens with IE, using other browser everything is ok.
Which could be the problem? Any workaround to make it works?
UPDATE:
Note that this page, with IE, works fine, and multiple selection is allowed.
The trick is to add
<meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge,chrome=1\">
into <head> section of the form

Jquery File Upload plugin does not work drang and drop of file in Internet Explorer 11

I have a code where I can drag and drop files when using Chrome or firefox. However, when I use IE 11, when I drop a file, the browser opens the file instead of uploading it. I can't seem to find a good example on how to implement this that works in IE.
You could take a look at the WordPress source. I know they have a drag-and-drop media upload feature that is working great in IE11.

How to identify browser supports j-query chunk upload plugin

I am developing a web application for mobile where I am using jquery file up-loader plugin. from here
it works great on mobile Chrome and Mozilla. But don't work on default android browser. I want to hide the input where it does not support the plugin. I tried Google, no luck. Can anyone tell how to identify chunk support for the browser?
Try the following:
if(jQuery.fileupload())
{
//hide input code here
}

How to use jquery and jqueryui for Internet Explorer add-on creation?

As a hobby thing, I am trying to create Internet Explorer Add-on using this article Creating Add-ons for Internet Explorer: Customizing Menus.
The above links describes two approaches:
Using javascript
Using DLL
I am trying to use Javascript for my project. Specifically, jqueryui for all the ui rendering. The problem I am facing is that I don't know how to include/use jqueryui in my add-on.
ADD
With jqueryui i am mostly interested in the dialog boxes and modal forms, activated from the context menu. Is it possible to do this?
Any direction, suggestion or code snippet is welcomed.
Thanks.
I don't think you can do any graphical stuff with the menus unless you go the DLL route - in which case you won't be using JavaScript. It looks like all you can do from JS is add menu items (as plain text).

Categories

Resources