How can I send a click event to a HTML filefield control
Posted on 2006-04-11
I have an ASPX from that is used for maintaining data in a SQL table of job requests.
Some of the requests will have files attached.
Currently, I am using a 2nd page to find and attach files.
This page has a HTML filefield control and an asp button with code behind to insert the selected file into the database.
I would like to reduce mouse clicks by having the form load event send a click event to the filefield control so that the file browser control is displayed without the need to click the filefield control's button.