I have reduced the problem to the essentials. Using ver 9. I have a page1.a5w with one dialog component. That contains 3 advanced buttons and a submit button. Button0 does nothing (has no code in the server event � on click). Button1 and button2 have the same code in the server event � on click, CurrentForm.RedirectTarget = "page2.a5w". The after validate has the same one line of code. Page2.a5w just displays HELLO and you must use the browser back button to return to page1. My observations, starting with page1:
submit -> page2, back button -> page1, submit -> page2 and this works as is expected. Also: submit -> page2, back button -> page1, button1 -> page2 and this works as is expected. Also: button1 -> page2, back button -> page1, button1 -> page2 and this works as is expected.
But what is wrong is:
Button1 -> page2, back button -> page1, button2 -> NOTHING HAPPENS, press button2 again and -> page2. Of course the same happens in button2 then button1 order. That is, if you press the same button again after the back button then the page advances but if you alternate button1 and button2 then the second one must always be pressed twice. Also note the sequence: Button1 -> page2, back button -> page1, button0 (the do-nothing button) -> nothing happens, button2 -> page2. So it seems that some button must be pressed between button1 and button2 to get the redirect to work. I can see IE8 is retrieving something when the redirect fails but I can not tell what it is. It may have something to do with focus but I am stumped.
My application uses a menu of advanced buttons to select reports for printing so the user has to use the browser back buttons to return to the menu and then always has to press the next selection twice. I can work around this with several dialogs on page1 so that each has it�s own submit button but I really would like to know what�s going on here. This forum has been really terrific and I look forward to the day I know enough to contribute. Thanks.
submit -> page2, back button -> page1, submit -> page2 and this works as is expected. Also: submit -> page2, back button -> page1, button1 -> page2 and this works as is expected. Also: button1 -> page2, back button -> page1, button1 -> page2 and this works as is expected.
But what is wrong is:
Button1 -> page2, back button -> page1, button2 -> NOTHING HAPPENS, press button2 again and -> page2. Of course the same happens in button2 then button1 order. That is, if you press the same button again after the back button then the page advances but if you alternate button1 and button2 then the second one must always be pressed twice. Also note the sequence: Button1 -> page2, back button -> page1, button0 (the do-nothing button) -> nothing happens, button2 -> page2. So it seems that some button must be pressed between button1 and button2 to get the redirect to work. I can see IE8 is retrieving something when the redirect fails but I can not tell what it is. It may have something to do with focus but I am stumped.
My application uses a menu of advanced buttons to select reports for printing so the user has to use the browser back buttons to return to the menu and then always has to press the next selection twice. I can work around this with several dialogs on page1 so that each has it�s own submit button but I really would like to know what�s going on here. This forum has been really terrific and I look forward to the day I know enough to contribute. Thanks.