07-21-2019, 02:14 AM
If you want to change any style attribute after rendering - including "Visibility" (or "Display" for that matter) - then you need to set:
IWTemplateProcessorHTML.RenderStyles := True
Since version 15.0.0 we have been slowly changing the behavior of Async rendering when templates are enabled, in such a way that an Async response
won't break styles of components styled by external style sheets. In IW 15.1 we enforced that no style attribute is rendered in Async when IWTemplateProcessorHTML.RenderStyles = False;
I'll add this information to our change log once I consider it important but it is not part of our release notes.
IWTemplateProcessorHTML.RenderStyles := True
Since version 15.0.0 we have been slowly changing the behavior of Async rendering when templates are enabled, in such a way that an Async response
won't break styles of components styled by external style sheets. In IW 15.1 we enforced that no style attribute is rendered in Async when IWTemplateProcessorHTML.RenderStyles = False;
I'll add this information to our change log once I consider it important but it is not part of our release notes.