Guest User

Untitled

a guest
Aug 15th, 2018
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. How to activate ASP.NET fileupload from code behind? [closed]
  2. <html>
  3. <head>
  4. <script lang="text/javascript">
  5. function openDialog(){
  6. document.getElementById('fileupload').click();
  7. }
  8. </script>
  9. </head>
  10. <body onload='openDialog()'>
  11.  
  12. <input type="file" id="fileupload" />
  13. </body>
  14. </html>
Add Comment
Please, Sign In to add comment