How to get current request url
I type in browser:
https://srv-1/sites/1001/Account Documents/Order
but in Page_Load in my controls I get
HttpContext.Current.Request.Url = https://srv-1/_layouts/15/start.aspx
and
Page.Request.RawUrl = Page.Request.RawUrl
I need to retrieve information: /Account Documents/Order
I found this:
SPUtility.GetFullUrl(SPContext.Current.Site, SPUtility.OriginalServerRelativeRequestUrl);
It still return only "srv-1/sites/1001/_layouts/15/start.aspx"; and I need also this: "/Account Documents/Order"
How I can retrieve it?
Thanks