Issue: I have 5 documents docked. I want to check if there is unsaved data on a form before a user moves on to another tab.
I am trying to use SelectedDocumentChanged and check for unsaved data flag, then set
the active document back to the previous one within the SelectedDocumentChanged event.
This works, but if a user then goes back to the same 2nd document they tried to go to the first time, again without saving, the event SelectedDocumentChanged does not fire. If I go to any different tabs it works fine.
Is there a a way to fix this? Is there a better/different way to cancel a document change?
Please Help! I have searched the forums a LOT on this and not found an exact solution yet.
Josh
I am trying to use SelectedDocumentChanged and check for unsaved data flag, then set
the active document back to the previous one within the SelectedDocumentChanged event.
This works, but if a user then goes back to the same 2nd document they tried to go to the first time, again without saving, the event SelectedDocumentChanged does not fire. If I go to any different tabs it works fine.
Is there a a way to fix this? Is there a better/different way to cancel a document change?
Please Help! I have searched the forums a LOT on this and not found an exact solution yet.
Josh