Skip to Content
0
May 29 at 09:32 PM

Modal screen after a modal screen

108 Views

Hi experts, I have the following scenario.

From a modal screen I execute a navigation action to go to another screen and despite the fact I'm telling is a modal screen, the second screen is open like a no-modal, I mean, it shows the Back button.

Second screen is a form so I need to do some validations and avoid the user leaves the screen in case of some error.

I do the validations in Onloaded event of the page however I can't see how to cancel the Back navigation when there is some error.

How can I force the second screen like a modal or cancel back navigation when there is some error ? Any suggestion?

Thanks