Hello,
We have a new issue with a Modal Add page that submits successfully but in one page the List page does not refresh, but in another the List page refreshes successfully.
Again, we didn’t have this issue in the previous versions (ANM2021). After the conversion one page works OK, the other NOT. The code is very simple, both in code-behind and in client side.
Here is the log on the page that works OK:
2025-09-18 17:14:02.279 +03:00 [INF] Request starting HTTP/1.1 POST http://localhost/ClickTime-2025/EmployeesTicketsResponsesAdd - application/x-www-form-urlencoded;charset=UTF-8 455
2025-09-18 17:14:02.279 +03:00 [INF] Checking for conditional GET/HEAD.
2025-09-18 17:14:02.279 +03:00 [INF] Not valid - method isn't GET or HEAD.
2025-09-18 17:14:02.279 +03:00 [INF] Don't generate 304 - Not Modified. Continue.
2025-09-18 17:14:02.279 +03:00 [INF] Checking for conditional PUT/PATCH.
2025-09-18 17:14:02.279 +03:00 [INF] Not valid - method isn't PUT or PATCH.
2025-09-18 17:14:02.279 +03:00 [INF] Don't generate 412 - Precondition Failed. Continue.
2025-09-18 17:14:02.378 +03:00 [INF] LoadFromCache (xxx@xxx.com)
2025-09-18 17:14:02.422 +03:00 [INF] CORS policy execution successful.
2025-09-18 17:14:02.422 +03:00 [INF] Executing endpoint 'AspNetMaker2025.Controllers.HomeController.EmployeesTicketsResponsesAdd (AspNetMaker2025)'
2025-09-18 17:14:02.422 +03:00 [INF] Route matched with {action = "EmployeesTicketsResponsesAdd", controller = "Home"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] EmployeesTicketsResponsesAdd() on controller AspNetMaker2025.Controllers.HomeController (AspNetMaker2025).
2025-09-18 17:14:02.584 +03:00 [INF] Executing ViewResult, running view ~/Views/Home/lang/Notify.ro-RO.cshtml.
2025-09-18 17:14:02.591 +03:00 [INF] Executed ViewResult - view ~/Views/Home/lang/Notify.ro-RO.cshtml executed in 89.4483ms.
2025-09-18 17:14:04.802 +03:00 [INF] Executing JsonResult, writing value of type 'System.Collections.Generic.Dictionary`2[[System.String, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.String, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'.
2025-09-18 17:14:04.807 +03:00 [INF] Executed action AspNetMaker2025.Controllers.HomeController.EmployeesTicketsResponsesAdd (AspNetMaker2025) in 2384.5656ms
2025-09-18 17:14:04.807 +03:00 [INF] Executed endpoint 'AspNetMaker2025.Controllers.HomeController.EmployeesTicketsResponsesAdd (AspNetMaker2025)'
2025-09-18 17:14:04.807 +03:00 [INF] Generating expiration headers.
2025-09-18 17:14:04.807 +03:00 [INF] Expiration headers generated. Expires: Thu, 18 Sep 2025 14:14:04 GMT. Cache-Control: private,max-age=0,no-store,no-cache,must-revalidate.
2025-09-18 17:14:04.807 +03:00 [INF] Generating Validation headers.
2025-09-18 17:14:04.807 +03:00 [INF] Validation headers generated. ETag: Strong, "FF3069026B16CCEC7CAA35208DEAA157". Last-Modified: Thu, 18 Sep 2025 14:14:04 GMT
2025-09-18 17:14:04.807 +03:00 [INF] Generating Vary header.
2025-09-18 17:14:04.807 +03:00 [INF] Vary header generated: Accept, Accept-Language, Accept-Encoding.
2025-09-18 17:14:04.808 +03:00 [INF] Request finished HTTP/1.1 POST http://localhost/ClickTime-2025/EmployeesTicketsResponsesAdd - 200 null application/json; charset=utf-8 2529.6291ms
2025-09-18 17:14:04.821 +03:00 [INF] Request starting HTTP/1.1 GET http://localhost/ClickTime-2025/EmployeesTicketsResponsesList?showmaster=EmployeesTickets&fk_tk_iin_row_id=295 - null null
2025-09-18 17:14:04.822 +03:00 [INF] Checking for conditional GET/HEAD.
2025-09-18 17:14:04.822 +03:00 [INF] Not valid - no If-None-Match or If-Modified-Since headers.
2025-09-18 17:14:04.822 +03:00 [INF] Don't generate 304 - Not Modified. Continue.
2025-09-18 17:14:04.822 +03:00 [INF] Checking for conditional PUT/PATCH.
2025-09-18 17:14:04.822 +03:00 [INF] Not valid - method isn't PUT or PATCH.
2025-09-18 17:14:04.822 +03:00 [INF] Don't generate 412 - Precondition Failed. Continue.
2025-09-18 17:14:04.920 +03:00 [INF] LoadFromCache (xxx@xxx.com)
2025-09-18 17:14:04.964 +03:00 [INF] Executing endpoint 'AspNetMaker2025.Controllers.HomeController.EmployeesTicketsResponsesList (AspNetMaker2025)'
2025-09-18 17:14:04.964 +03:00 [INF] Route matched with {action = "EmployeesTicketsResponsesList", controller = "Home"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] EmployeesTicketsResponsesList() on controller AspNetMaker2025.Controllers.HomeController (AspNetMaker2025).
2025-09-18 17:14:05.136 +03:00 [INF] Executing ViewResult, running view EmployeesTicketsResponsesList.
2025-09-18 17:14:05.163 +03:00 [INF] Executed ViewResult - view EmployeesTicketsResponsesList executed in 26.829ms.
2025-09-18 17:14:05.163 +03:00 [INF] Executed action AspNetMaker2025.Controllers.HomeController.EmployeesTicketsResponsesList (AspNetMaker2025) in 198.9612ms
2025-09-18 17:14:05.163 +03:00 [INF] Executed endpoint 'AspNetMaker2025.Controllers.HomeController.EmployeesTicketsResponsesList (AspNetMaker2025)'
2025-09-18 17:14:05.163 +03:00 [INF] Generating expiration headers.
2025-09-18 17:14:05.163 +03:00 [INF] Expiration headers generated. Expires: Thu, 18 Sep 2025 14:14:05 GMT. Cache-Control: private,max-age=0,no-store,no-cache,must-revalidate.
2025-09-18 17:14:05.163 +03:00 [INF] Generating Validation headers.
2025-09-18 17:14:05.164 +03:00 [INF] Validation headers generated. ETag: Strong, "B0608980556640D9B1B0C950CAA54FBE". Last-Modified: Thu, 18 Sep 2025 14:14:05 GMT
2025-09-18 17:14:05.164 +03:00 [INF] Generating Vary header.
2025-09-18 17:14:05.164 +03:00 [INF] Vary header generated: Accept, Accept-Language, Accept-Encoding.
2025-09-18 17:14:05.166 +03:00 [INF] Request finished HTTP/1.1 GET http://localhost/ClickTime-2025/EmployeesTicketsResponsesList?showmaster=EmployeesTickets&fk_tk_iin_row_id=295 - 200 null text/html; charset=utf-8 345.1745ms
and the page that doe not refresh the List page
2025-09-18 17:10:53.254 +03:00 [INF] Request starting HTTP/1.1 POST http://localhost/ClickTime-2025/HdSupportTicketsResponsesAdd - application/x-www-form-urlencoded;charset=UTF-8 527
2025-09-18 17:10:53.255 +03:00 [INF] Checking for conditional GET/HEAD.
2025-09-18 17:10:53.255 +03:00 [INF] Not valid - method isn't GET or HEAD.
2025-09-18 17:10:53.255 +03:00 [INF] Don't generate 304 - Not Modified. Continue.
2025-09-18 17:10:53.255 +03:00 [INF] Checking for conditional PUT/PATCH.
2025-09-18 17:10:53.255 +03:00 [INF] Not valid - method isn't PUT or PATCH.
2025-09-18 17:10:53.255 +03:00 [INF] Don't generate 412 - Precondition Failed. Continue.
2025-09-18 17:10:53.360 +03:00 [INF] LoadFromCache (xxx@xxx.com)
2025-09-18 17:10:53.408 +03:00 [INF] CORS policy execution successful.
2025-09-18 17:10:53.408 +03:00 [INF] Executing endpoint 'AspNetMaker2025.Controllers.HomeController.HdSupportTicketsResponsesAdd (AspNetMaker2025)'
2025-09-18 17:10:53.408 +03:00 [INF] Route matched with {action = "HdSupportTicketsResponsesAdd", controller = "Home"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] HdSupportTicketsResponsesAdd() on controller AspNetMaker2025.Controllers.HomeController (AspNetMaker2025).
2025-09-18 17:10:53.684 +03:00 [INF] Executing ViewResult, running view ~/Views/Home/lang/Notify.ro-RO.cshtml.
2025-09-18 17:10:53.690 +03:00 [INF] Executed ViewResult - view ~/Views/Home/lang/Notify.ro-RO.cshtml executed in 156.5432ms.
2025-09-18 17:10:55.267 +03:00 [INF] Executing JsonResult, writing value of type 'System.Collections.Generic.Dictionary`2[[System.String, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.String, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'.
2025-09-18 17:10:55.267 +03:00 [INF] Executed action AspNetMaker2025.Controllers.HomeController.HdSupportTicketsResponsesAdd (AspNetMaker2025) in 1859.5075ms
2025-09-18 17:10:55.268 +03:00 [INF] Executed endpoint 'AspNetMaker2025.Controllers.HomeController.HdSupportTicketsResponsesAdd (AspNetMaker2025)'
2025-09-18 17:10:55.268 +03:00 [INF] Generating expiration headers.
2025-09-18 17:10:55.268 +03:00 [INF] Expiration headers generated. Expires: Thu, 18 Sep 2025 14:10:55 GMT. Cache-Control: private,max-age=0,no-store,no-cache,must-revalidate.
2025-09-18 17:10:55.268 +03:00 [INF] Generating Validation headers.
2025-09-18 17:10:55.268 +03:00 [INF] Validation headers generated. ETag: Strong, "FB82C4CB5856A1DF47088F272CD737C9". Last-Modified: Thu, 18 Sep 2025 14:10:55 GMT
2025-09-18 17:10:55.268 +03:00 [INF] Generating Vary header.
2025-09-18 17:10:55.268 +03:00 [INF] Vary header generated: Accept, Accept-Language, Accept-Encoding.
2025-09-18 17:10:55.269 +03:00 [INF] Request finished HTTP/1.1 POST http://localhost/ClickTime-2025/HdSupportTicketsResponsesAdd - 200 null application/json; charset=utf-8 2014.9273ms
I simply do not understand where to look for culprits.
If anyone could give me a hint.
Regards