Hi All,
I have the following scenario: I have a parent page, where I have a filtered set of records and one of the grid’s field is AxHyperLinkBoundField, so clicked on it will open a child page with some details info, but when the user clicks the standard browser ”Back” (Alf+Left in IE) button, the filter on the parent page is gone.

So, I have a question: How to catch the standard browser event, when user clicks the ”Back” (Alf+Left in IE) button?
I have found just this proposition https://msdn.microsoft.com/en-us/library/cc518834.aspx
and some another example in TSTimesheetApproval control, but I didn’t found how does it called by the clicking of the ”Back” (Alf+Left in IE) button
private void RedirectToPreviousPage()
{
if (DialogHelper.IsCurrentPageModalDialog() == true)
{
// Page is displayed in a modal dialog, so close the page.
DialogHelper.Close();
}
else
{
// Page is opened in the main browser, so try to return to the previous page.
if (!String.IsNullOrEmpty(AxWebSession.GetPreviousURL(this.Page)))
{
Response.Redirect(AxWebSession.GetPreviousURL(this.Page));
}
else
{
// The previous page is not available, so return to a known page.
// Use the URL Web Menu item from the AOT to specify which
// page will be displayed.
AxUrlMenuItem listpage = new AxUrlMenuItem("FCMWorkOrdersListPage");
Response.Redirect(listpage.Url.OriginalString);
}
}
}