I am building an asp.net website in which a user picks an image from the user's file system and displays it on the site. The code is presently working as a two step process:
1. Use FileUpload control to let the user select a file from local storage. A Browse button is shown, and the user picks the file with the file name in the control
2. User clicks a Display button. The file is checked and displayed so the user can add a description before uploading to db.
My client wants a one-step process, eliminating the Display button. I have unsuccessfully tried to implement this by triggering on the FileUpload events. I've tried them all, w/o success. FileUpload only captures the file name. How do I kick off my processing routines without another button click?