OnClick vs OnAsyncClick

<< Click to Display Table of Contents >>

Navigation:  Forum >

OnClick vs OnAsyncClick

Forum link

 


 

05-16-2020, 07:58 AM:

 

Hi,

 

Can anyone tel me the difference?

 


 

05-16-2020, 04:38 PM:

 

OnClick will cause a full page refresh, async will only cause parts of the page to update which have changed.

 


 

05-16-2020, 07:53 PM:

 

Thank you.

 

So, Async is "better / more efficiënt"....

 

Why than not open a onAsyncClick when double click the component?

 


 

05-16-2020, 11:28 PM:

 

It depends on the need. Some operations require a full refresh. Most times async is better.

 

Double click goes to onclick because that functionality has existed since long before we had async support.