We recently demoed the product we are developing with ASP.NET Zero and found that any of the Pick Modal's generated by the RAD tool cached all information and the subsequent usage of the Pick were not refreshed. This was a global issue with any of the foreign tables. How do I clear the modal so it will refresh each time the Pick is clicked and shouldn't this be the default in the RAD tool?
Thanks.
7 Answer(s)
-
0
Hi @mdframe
Could it be a browser extension filling the modal fields ? I faced a similar problem on a different website. RAD Tool clears the fields when you open the modal.
-
0
@ismcagdas we thought about that as well and have been able to replicate on Mac and Windows. We have seen a number of modals keep previous values on reopen and PrimeNG tables not refreshing. What code is taking care of it today from the RAD tool? Maybe we modified something without being aware but this is multiple modals.
-
0
@mdframe
It should be done in the onShown method of the modal component. You can compare one with the other Modal's code and see if there are any difference.
-
0
@ismcagdas
I am using v6.3.1 for Asp.Net Core with angular and the RAD tool does not generate any methods called onShown. They only have show which creates a new DTO entity but never clears the modal data. We see most modals retain all screen field values between calls as the generated code is only performing show and hide not resets or empty.
-
0
Hi @mdframe,
Thanks. We will test it again and inform you about the result.
-
0
Any updates? The client is complaining they have to change the record count each time the modal is opened to get the grid to refresh. This is occurring in Mac books.
-
0
Hi @mdframe
We couldn't reproduce this problem on our environment. Can we arrange a remote meeting via TeamViewer so you can show us this problem on your computer ?
If this is convinient for you, please send an email to [email protected] to arrange an online meeting time.