10-03-2020, 12:48 AM
(This post was last modified: 10-03-2020, 12:50 AM by Alexandre Machado.)
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?
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?