Hi All,
I need an easy implemented way to keep track of the return Url that passed from one screen into another.
Eg: screen A -> screen B -> screen C -> screen D ...etc...
Currently, my code is set the current screen's returnUrl to the request object, and the next screen will get it from the request. This only work fine when navigate from A to B, but when I navigate from B to C, then the returnUrl from A to B will be lost. I can't hard code the returnUrl into each screen, because screen B may invoked by, say screen A1, screen A2, screen A3 etc... I have tried to encode the A->B returnUrl inside the B->C returnUrl, but after a number of level down, the method will become very hard to implement.
Any help will be appreciated.
Thanks in advance.
I need an easy implemented way to keep track of the return Url that passed from one screen into another.
Eg: screen A -> screen B -> screen C -> screen D ...etc...
Currently, my code is set the current screen's returnUrl to the request object, and the next screen will get it from the request. This only work fine when navigate from A to B, but when I navigate from B to C, then the returnUrl from A to B will be lost. I can't hard code the returnUrl into each screen, because screen B may invoked by, say screen A1, screen A2, screen A3 etc... I have tried to encode the A->B returnUrl inside the B->C returnUrl, but after a number of level down, the method will become very hard to implement.
Any help will be appreciated.
Thanks in advance.