sorry for the long thread name, the explanations should clear the sky.
I have a WebPage say myWebPage and a WebDialog say myWebDialog.
Using a button in myWebPage I have myWebDialog appear on screen:
- if myWebDialog is not already created I
Var wp as WebPage = New myWebPage wp.Show ' Set a property in session to wp
- if myWebDialog is already existing I simply Show it
When I click on Close in myWebDialog, I hide it.
Thing is there is a WebFileUploader in myWebDialog and I don’t want to lose it when I close myWebDialog.
From a buton in myWebPage, I would like to invoke the Upload method of the WebFileUploader in myWebDialog that is hidden but still exists. How can I do that ? Complementary questions:
Is there some way I could know that the Upload is finished before proceeding with the rest of the method in myWebPage ?
If I succeed with point 1, will the events get triggered in myWebDialog and their defined Action be executed ?
Many thanks, I know that’s kind of convoluted.