2012-12-27 22 views

回答

1

是您在自己的網站內尋找的頁面嗎?如果是這樣,你可以這樣做,爲不同的頁面啓用不同的反應。如果它位於您的網站之外,那麼我會像提及的Trekstuff一樣使用UrlReferrer。

If Not PreviousPage Is Nothing Then 
    Dim str As String = PreviousPage.AppRelativeVirtualPath 
    If str = "~/(DESIRED URL)" Then 
    End If 
End IF 
相關問題