May 09, 2017, 10:54 AM
[CLOSED] File Upload and Confirm message
Hello,
I am building an application where the user can upload a file. If the file already exists then X.msg.Confirm shows and ask the user if he wants to Replace, Update or Discard the new file. By using this Example I have no problem achieving this, because on FileSelected I check if the file exists and then by clicking the "Start Upload" button, upload starts.
But if the user's browser doesn't support Flash I want to show the simple upload button. But then there is no "Start Upload" button so I cant achieve the desired functionality because the FileUpload function in code behind doesn't wait for the answer from the X.msg.Confirm. Is it possible to use a similar functionality? Maybe a "Start Upload" button?
Thank you
I am building an application where the user can upload a file. If the file already exists then X.msg.Confirm shows and ask the user if he wants to Replace, Update or Discard the new file. By using this Example I have no problem achieving this, because on FileSelected I check if the file exists and then by clicking the "Start Upload" button, upload starts.
But if the user's browser doesn't support Flash I want to show the simple upload button. But then there is no "Start Upload" button so I cant achieve the desired functionality because the FileUpload function in code behind doesn't wait for the answer from the X.msg.Confirm. Is it possible to use a similar functionality? Maybe a "Start Upload" button?
Thank you
Last edited by fabricio.murta; Jun 09, 2017 at 6:21 PM.