Hi all,
Please help me out again -
My requirement -
I have to drag and drop multiple files in asp.net C#.
Steps-
1. There is a panel on asp.net page.
2. User can select multiple files from his/her drive and drag and drop these files on this panel.
3. User clicks "Upload" button.
4. System uploads the files on button_click event.
-------
Eg - In gmail, we drag and drop file and just upload them, so they can be sent to other recepients.
-----------
I cannot use JQuery for this.
-----------
Thanks a ton to all in advance.
Loading
Riddhi ValechaPosted Mar 11, 2016, 2:43 AM
Please help....
My Requirement is -
1. Take Panel ; and drag and drop only one single pdf file on it. -
2. Select single (one file at a time) pdf file. - Issue -
2.1. I have to select only 1 pdf file at a time. How to check the extension using JQueyr / Javascript and display alert/error message - "Only pdf file is allowed" and clear the content of the FIle Upload Control.
3. upload it and download it.
Riddhi ValechaPosted Mar 13, 2015, 5:31 AM
We are not using telerik controls...
Requirement -
Option - 1
Take FileUpload control.
Click on "Browse" button.
User should be able to select only pdf files and not any other extension.
Eg - If the file on which the pointer(mouse) is there, is pdf file, it should be selectable.
Else, that file should not be selectable.
Drag and Drop selected multiple pdf files.
Upload them.
Option - 2
Take FileUpload control.
Click on "Browse" button.
User should be able to select only pdf files and not any other extension.
Eg - If the file on which the pointer(mouse) is there, is pdf file, it should be selectable.
Else, that file should not be selectable.
Upload these selected pdf files.
----------------
I tried but failed.... PLEASE HELP !!! Its really urgent and important...
Vinodh NarayananPosted Dec 27, 2014, 4:53 AM
http://demos.telerik.com/aspnet-ajax/asyncupload/examples/draganddrop/defaultcs.aspx
Khargesh RajputPosted Dec 25, 2014, 5:37 AM
but using ajax file uploader may have problem with mozzila
http://www.dotnetfunda.com/articles/show/2368/uploading-files-using-ajax-uploader-with-drag-and-drop-functionalities
https://code.msdn.microsoft.com/Upload-Files-Asynchronously-829691df#content
Riddhi ValechaPosted Dec 25, 2014, 5:23 AM
I have seen this site.
But, I cannot use JQuery.
Please provide some other solution.
Thanks in advance.
Khargesh RajputPosted Dec 24, 2014, 11:49 PM
Riddhi ValechaPosted Dec 24, 2014, 11:55 AM
None of the codes are working.
Please send me some sample project if you have worked on it.
Thanks a ton..
Vinodh NarayananPosted Dec 20, 2014, 12:00 AM
http://www.webcodeexpert.com/2013/06/drag-drop-to-upload-multiple-files.html
Riddhi ValechaPosted Dec 16, 2014, 11:20 AM
This code is not working for more than 2 files.
I want to upload minimum 6-7 files at a time.
Please help.
Vinodh NarayananPosted Dec 12, 2014, 5:39 AM