Is there any way to get previous page url in silverlight navigation application

后端 未结 2 1269
栀梦
栀梦 2021-01-24 09:44

Is there any way to get previous page url in silverlight navigation application. I am using navigation Service.

2条回答
  •  攒了一身酷
    2021-01-24 10:39

    There is a way through which you can get URL of previous page before postback.

    if (!IsPostBack)
    {
     Session["PrvPageUrl"] = Request.UrlReferrer.ToString();
    }
    

    It might be help you.

提交回复
热议问题