I would like to replicate the functionality of the ‘OpenFileDialog’ control. In that control you can trigger the popup screen using the ShowDialog() method. This results in the file selector screen coming up.
Its looks like the Upload control is the only comparable control that allows for file uploads. However, this is implemented as a button.. which is nice, but not the way my current application works. I am trying to invoke an upload from the toolbar.
Is there a way to invoke the upload in code, similar to the ‘ShowDialog’ method? I don’t see any method to do that.
Have a look in this thread, it might be helpful:
Please login first to submit.