15.3.10

<< Click to Display Table of Contents >>

Navigation:  Version History >

15.3.10

Version History link

 

2023-07-10

 

What's new

 

New LockerOptions property in ServerController. The locker is the background overlay plus the animated icon and an optional text that prevents user interaction with the page while the application is waiting for a server response. The new implementation allows the user to control the image, background color and opacity, and also the text used to keep the users informed.

 

Old properties ShowLoadingAnimation and CustomLockerAnimationFile became LockerOptions.ShowLoadingAnimation and LockerOptions.CustomLockerAnimationFile respectively.

 

Other LockerOptions properties are:

 

Style, allows to set a dark or light (default) color (predefined sets).

 

BackgroundRGBA, allows the user to set both color and opacity of the background overlay using the standard CSS rgba() function as rgba(red, green, blue, alpha).

 

Caption, allows the user to set the text that will appear right below the animation image. A new demo will follow

 

ajaxCall() JavaScript method has changed internally to accept options of the locker to be shown during the async call. For instance, user can call it like:

 

ajaxCall("SomeMethod", "param1=value1", {text: "Generating the report. Please wait"¦"});

 

In this case, the text "Generating the report. Please wait"¦" will appear right below the animation icon while the Ajax call is executing

 

Bug fix

 

When creating/destroying controls during async events, changing the properties of existing controls, especially the visibility, could possibly fail

 

TIWDownloadLink and TIWDownloadButton async rendering fixed

 

ITWEdit would render wrong style during async call