Using Member.GetCurrentMember() on extension less url
I have the following method in a user control.
if i go to "/dataroom" it doesn't works however if i add the ".aspx" extension it works. Any thoughts on how to get this working on extensionless url's.
public static string GetUserName()
{
if (Member.GetCurrentMember() != null)
{
return Member.GetCurrentMember().LoginName;
}
return "";
}
Using Member.GetCurrentMember() on extension less url
I have the following method in a user control.
if i go to "/dataroom" it doesn't works however if i add the ".aspx" extension it works. Any thoughts on how to get this working on extensionless url's.
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.