Hi,
On a button, I’m using
this.addListener("execute", function(e){this.upload1.upload();}); What event instead of "execute" can I use for double-click on a PictureBox?
Hi Adrian,
You can use something like this in the InitScript of the PictureBox to process the upload on the client:
this.addListener("dblclick", function(e){App.MainPage.upload1.upload();});
Pretty much all Wisej controls are derived from qx.ui.core.widget in the Qooxdoo framework. You can find a list of events here: https://qooxdoo.org/qxl.apiviewer/#qx.ui.core.Widget
Or, you can trigger an upload from the server:
private void pictureBox1_DoubleClick(object sender, EventArgs e) { this.upload1.UploadFiles(); }
HTH,
Levie
Please login first to submit.