|
<< Click to Display Table of Contents >> Navigation: Telegram > 2019 > 08 > 07 > Telegram_2019-08-07T04 |
2019-08-07T04:37:07
type: mention @sonjli yes and in my tests everything works. Did you debug your OnBackButton event?
2019-08-07T04:39:39
When you hit the event, check the values of:
VResyncInfo.Session.ActiveForm.Name and VResyncInfo.FormName
2019-08-07T04:41:37
VResyncInfo.FormName contains the name of the form in the browser, which generated the request.
VResyncInfo.Session.ActiveForm.Name contains the active form on the server side.
- Check if both are correct
2019-08-07T04:42:09
- they are probably different (because you forced it in the browser)
2019-08-07T04:47:14
How can I \force\?
2019-08-07T04:47:37
when you open multiple tabs in the same session you did it
2019-08-07T04:48:50
VResyncInfo.FormName is ''
2019-08-07T04:49:42
I think I know what is happening... just let me test something
2019-08-07T04:49:51
FormName should NEVER be empty
2019-08-07T04:49:59
I mean... only in the fist resquest it is fine
2019-08-07T04:50:10
but afterwards, if you have several tabs open, it shouldn't
2019-08-07T04:50:40
FormName comes from the hidden input with the same name in your HTML
2019-08-07T04:51:58
If I force in debug the VResyncInfo.FormName = 'TMyForm' then nothing changes
2019-08-07T04:53:19
where TMyForm is the form not synchronized
2019-08-07T04:54:05
I have two tabs
Tab1: MyForm
Tab2: MyForm2 opened after MyForm1
2019-08-07T04:54:20
MyForm2 is correctly synchronized
2019-08-07T04:54:30
MyForm is out of sync
2019-08-07T04:55:45
Are there any events in the not-sync form I should see fired when synchronization mechanism triggers?
2019-08-07T04:56:23
TIWForm.OnRender does not fires