Upload file without file uploade control
-
Respected, Can me upload a file without file uploade control. Thanks.
-
Respected, Can me upload a file without file uploade control. Thanks.
-
Respected, Can me upload a file without file uploade control. Thanks.
FileUpload
andinput type="file"
is the same thing. You might use either of them. You can even trigger theBrowse
button click when some other control is clicked, but with normal html, it is not possible to upload the file without browserFileUpload
. May be you can use flash object to invoke openfiledialog withoutFileUpload
control. Many sites uses FlashOpenFileDialog
to havemultiselection
of files enabled. It wont be possible for normal html file upload control. ;PAbhishek Sur **Don't forget to click "Good Answer" if you like this Solution.
My Latest Articles-->** Simplify Code Using NDepend
Basics of Bing Search API using .NET
Microsoft Bing MAP using Javascript -
Respected, Can me upload a file without file uploade control. Thanks.
lrsalunkhe wrote:
Can me upload a file without file uploade control.
Why ? :confused:
Abhijit Jana | Codeproject MVP Web Site : abhijitjana.net Don't forget to click "Good Answer" on the post(s) that helped you.
-
Respected, Can me upload a file without file uploade control. Thanks.
You can use js to upload file. Please refer to the following example: <script> function mCreateFile(obj){ var eF var mName mFileName.innerHTML="" if (obj.id=="File") { for (i=0;i <mFile.l.length-1;i++) { if (mFile.children[i].value=="") { mFile.removeChild(mFile.children[i]) } else { mName=mFile.children[i].value.split("\\") mFileName.innerHTML+=" <div id=NameDetail title='"+mName[mName.length-1]+"'>"+mName[mName.length-1]+" </div>" } } mstatus.innerHTML="There are <b>"+(mFile.children.length-1)+" </b> file to upload" } if (obj.id=="File_New") { eF=document.createElement(' <input type="file" name="File" size="23" id=File_New onpropertychange="mCreateFile(this)">') mFile.appendChild(eF) obj.id="File" } } </script>
April Comm100 - Leading Live Chat Software Provider