92
Views
1
Comments
How to prevent page reload when clicking a button to perform a screen action

I'm trying to perform a screen action when clicking a button but i dont want the whole page to reload.

I've tried using ajax submit and only refresh the web block the button is in, but the page keeps refreshing.


Thanks in advance!

2020-09-15 13-07-23
Kilian Hekhuis
 
MVP

Hi Sérgio,

I assume you are using Traditional Web? If you set the Button's Submit Method property to "Ajax Submit", indeed there's no refresh of the page, unless you have an explicitly redirect in your screen action. Can you share a module that exhibits this behaviour?

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.