Last post Jul 11, 2017 05:29 AM by swatimishra
Jul 08, 2017 06:04 AM|swatimishra|LINK
string url = HttpContext.Current.Request.Url.AbsoluteUri;
which is ok but from that syntax page name which i get is default.aspx and my page name is something else.And
I'm working in dnn(Dotnetnuke) in which i'm unable to get proper page name.So please help me to get exact page
Jul 08, 2017 10:15 AM|hkholakiya|LINK
Please check below link might help:
or try below code:
Hope it helps you. If yes please mark as answer.
Jul 10, 2017 07:38 AM|Deepak Panchal|LINK
you had mentioned that ,"I'm working in dnn(Dotnetnuke) in which i'm unable to get proper page name.So please help me to get exact page"
you can use code below.
string aurl = DotNetNuke.Entities.Tabs.TabController.CurrentPage.FullUrl;
DotNetNuke® Get Current Page Friendly URL
Jul 11, 2017 05:29 AM|swatimishra|LINK
Thank you so much deepak. it works as i want.