Is that Possible catch a event in a child block triggered by a parent block?

In my aplication i was needed use a list of lists, so i used two webblocks and i need use a button in the parent block to trigger an action in the list of child WebBlocks. Is that possible?

Solution

Hi,

if it is a traditional web application, just use an input variable in the webblock that defines whether an action should be performed or not, when you do an AjaxRefresh in that webblock it will update and run the preparation again with this updated variable.

If it is in the web react, then just add an input variable in the block and add the OnParametersChange Event in the Block. When the parameter is changed, the block is updated.

Solution