' create an uploader and add it to the page in run-time
Dim upload As WixUploader
upload.Initialize("upload").SetApiOnly(True).SetLink("mylist").SetUpload("./assets/upload.php").SetApiOnly(True)
'
fu = pg.AddUploader(upload)
'add event
Dim ffile As BANanoObject
pg.OnFileUploadError("upload", BANano.CallBack(Me, "onFileUploadError", Array(ffile)))
pg.onFileUpload("upload", BANano.CallBack(Me, "onFileUpload", Array(ffile)))
'add a dropzone for uploader linked to the list
pg.addDropZone("upload", "mylist")