I am having a problem when the browser back button is clicked after I have added multiple History points.
I have a multiview in a user control. The page that contains the user control uses a master page.
The multview has 4 basic steps "Select", "Billing", "Shipping", "Confirmation".
"Select" = 0
"Billing" = 1
"Shipping" = 2
"Confirmation" = 3
As the user steps through the view I add history points for the current view before I change to the next view.
| scriptManager.AddHistoryPoint("mykey", Convert.ToString(this.mvSignOrdering.ActiveViewIndex));
| this.mvOrdering.ActiveViewIndex = 1;
The URL gets displayed correctly in the browser: ordering.aspx#&&mykey=0, ordering.aspx#&&mykey=1, ordering.aspx#&&mykey=2
When the user clicks the browser back button on the "Confirmation" view..... I capture the OnNavigate event for the ScriptManager but my key states the value of "1".
The url states the value should be "2" but the event in the code behind states "1".
Any one have any ideas on what could be going on here?
It is possible for me to get the value directly from the URL since that is correct?