(10-03-2020, 12:48 AM)Alexandre Machado Wrote: This time IW is doing what it is supposed to do.
The problem with your project is that you set:
ServerController.RenderAsyncEnabled := False;
IWForm.RenderAsyncEnabled := True;
It should be:
ServerController.RenderAsyncEnabled := True;
IWForm.RenderAsyncEnabled := True;
The form property can disable the global setting but not enable it. Meaning:
RenderAsyncEnabled should be always True for all projects and all forms. This is the default behavior.
*If* you have some specific need in one of your forms you can disabled it for that specific form permanently (i.e. setting it to False at design time) or temporarily (setting it to False when responding to some request). If you disable it globally in the ServerController, this means that it won't be ever be enabled in your application. The grid async refresh needs it to be enabled.
Does it make sense?
Yes it does. I think, now, that I finally understand how RenderAsyncEnabled works! My bad!
But now, look at my test case again. I have some buttons and by example, I have a button that opens a modal form (the second one from the right) to input some comments.
Nothing happens when I press that button. How can I solve this particularly situation?
If I go to button "Carrinho" or press F5 on the browser and than close that form, the modal form will open and this is not what to expect..

