Atozed Forums
TIWFileUploader Event - Printable Version

+- Atozed Forums (https://www.atozed.com/forums)
+-- Forum: Atozed Software Products (https://www.atozed.com/forums/forum-1.html)
+--- Forum: IntraWeb (https://www.atozed.com/forums/forum-3.html)
+---- Forum: English (https://www.atozed.com/forums/forum-16.html)
+----- Forum: IntraWeb General Discussion (https://www.atozed.com/forums/forum-4.html)
+----- Thread: TIWFileUploader Event (/thread-2196.html)



TIWFileUploader Event - matija - 12-18-2020

Why not work (start) TIWFileUploader event OnAsyncUploadCompleted in IW15.2.20 with delphi XE12? Invalid file!

Identical code work in IW14.13 with Delphi XE8.


RE: TIWFileUploader Event - Alexandre Machado - 01-16-2021

Is XE12 == 10.3 Rio???

Does "Not working" mean that it is not triggering or you are getting some error while it is executed?

OnAsyncUploadeCompleted does work in IW 15.2.20 as it should. However, this event only triggers when AutoSave = False.

How's AutoSave property set? What kind of file is that? Have you tried other files?
How's the code inside OnAsyncUploadCompleted?

In order to help you I need you to give me more details or, preferably, a simple test case showing the problem.


RE: TIWFileUploader Event - matija - 01-19-2021

(01-16-2021, 09:25 PM)Alexandre Machado Wrote: Is XE12 == 10.3 Rio???

Does "Not working" mean that it is not triggering or you are getting some error while it is executed?

OnAsyncUploadeCompleted does work in IW 15.2.20 as it should. However, this event only triggers when AutoSave = False.

How's AutoSave property set? What kind of file is that? Have you tried other files?
How's the code inside OnAsyncUploadCompleted?

In order to help you I need you to give me more details or, preferably, a simple test case showing the problem.

Delphi 10.2.3. 
Not triggering also IW15.2.21!
Is AutoSave = false


RE: TIWFileUploader Event - Alexandre Machado - 01-21-2021

Yes it is. I just tested.

I need you to provide a test case for it.


RE: TIWFileUploader Event - matija - 01-26-2021

(01-21-2021, 10:58 AM)Alexandre Machado Wrote: Yes it is. I just tested.

I need you to provide a test case for it.

I found, if component name IWFileUploader then not work! If change name IWFileUploader1 then work.  
I do not know why?


RE: TIWFileUploader Event - DanBarclay - 01-26-2021

(01-26-2021, 08:29 AM)matija Wrote:
(01-21-2021, 10:58 AM)Alexandre Machado Wrote: Yes it is. I just tested.

I need you to provide a test case for it.

I found, if component name IWFileUploader then not work! If change name IWFileUploader1 then work.  
I do not know why?

Is there another element (of any type) on your page named "IWFileUploader"?

Just a hunch, it has happened before.  ID's must be unique on the page.  

Dan


RE: TIWFileUploader Event - matija - 01-28-2021

(01-26-2021, 09:10 PM)DanBarclay Wrote:
(01-26-2021, 08:29 AM)matija Wrote:
(01-21-2021, 10:58 AM)Alexandre Machado Wrote: Yes it is. I just tested.

I need you to provide a test case for it.

I found, if component name IWFileUploader then not work! If change name IWFileUploader1 then work.  
I do not know why?

Is there another element (of any type) on your page named "IWFileUploader"?

Just a hunch, it has happened before.  ID's must be unique on the page.  

Dan

No!