I'm not sure if this is correct, but I'm using the following code to
trigger an event when the back button is pressed on the browser. Is
this correct ?.

Public Sub OnNavigate(ByVal sender As Object, ByVal args As
HistoryEventArgs)

If I try putting this code in code-behind I get the error 'Type
HistoryEventArgs is not defined'

Please put your view.


Thanks.