Jump to content

add listener in UniFileUploadButton , and use ajaxRequest to call delphi method


Recommended Posts

Posted

cause: "  UniFileUploadButton.JSInterface.JSCall('fileInputEl.dom.click',[]); "

This code is executed asynchronously. 

 

how can i let the mask can be hide correctly?

 

thanks so much!

Posted
On 2/28/2025 at 7:40 PM, Sherzod said:

Hello,

In ajaxRequest, try setting the fourth parameter to false to make the request synchronous...

Yes, added the fourth parameter , but not effect in ajaxRequest Event. Thanks.

image.png.fa0229134429c6337bc4f8bf9079d568.png

image.png.9510764ee955560ee29a12c57913a56e.png

 

Posted
2 hours ago, builder said:

image.png.9510764ee955560ee29a12c57913a56e.png

Hello,

Maybe I don’t quite understand you.

Do you mean that the event is not triggered when the upload is canceled?

Posted
6 hours ago, Sherzod said:

Hello,

Maybe I don’t quite understand you.

Do you mean that the event is not triggered when the upload is canceled?

I used other methods instead.

thank you so much.

Posted
1 hour ago, Fred Montier said:

 

You should say how you solved to help all whom got curious about it (like me).

yes, I just used timer to hide mask.

image.png.7ac98ede22ec010c802b1e7f0e87479b.png

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...