none
get current page name in dnn RRS feed

  • Question

  • I want to get the current page name url.I used the syntax to get url 

    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

    name.

    Thanks


    swati mishra

    • Moved by Sabah ShariqMVP Friday, July 7, 2017 12:29 PM Moved From Visual C#
    Friday, July 7, 2017 11:38 AM

All replies

  • Hi swatimishra,

    This is Visual C# forum. As your issue is related to Web, please ask your question into ASP.Net forum for getting quick response. I am moving your thread to off-topic.

    https://forums.asp.net/

    Your understanding and cooperation will be grateful.

    Thanks,
    Sabah Shariq

    [If a post helps to resolve your issue, please click the "Mark as Answer" of that post or click Answered "Vote as helpful" button of that post. By marking a post as Answered or Helpful, you help others find the answer faster. ]

    Friday, July 7, 2017 12:28 PM
  • Thanks Sabah .

    swati mishra

    Saturday, July 8, 2017 5:56 AM