Display Hello John Doe Instead of Hello [email protected]

Posted By shulemj Thu 31 Dec 2015
Add to Favorites1
Author Message
shulemj
 Posted Thu 31 Dec 2015
Supreme Being

Supreme Being - (58,937 reputation)Supreme Being - (58,937 reputation)Supreme Being - (58,937 reputation)Supreme Being - (58,937 reputation)Supreme Being - (58,937 reputation)Supreme Being - (58,937 reputation)Supreme Being - (58,937 reputation)Supreme Being - (58,937 reputation)Supreme Being - (58,937 reputation)

Group: Forum Members
Last Active: Thu 11 Jul 2019
Posts: 115, Visits: 565
It's as simple as my header says - and I can't believe no one complained on that. I want to display "Hello John Doe" instead of "Hello [email protected]" once the customer logs in. I know basic ASP.NET, but can someone please direct me to the page that needs modification?

Thanks in advance.
shulemj Marked As Answer
 Posted Tue 5 Jan 2016
Supreme Being

Supreme Being - (58,937 reputation)Supreme Being - (58,937 reputation)Supreme Being - (58,937 reputation)Supreme Being - (58,937 reputation)Supreme Being - (58,937 reputation)Supreme Being - (58,937 reputation)Supreme Being - (58,937 reputation)Supreme Being - (58,937 reputation)Supreme Being - (58,937 reputation)

Group: Forum Members
Last Active: Thu 11 Jul 2019
Posts: 115, Visits: 565
Thanks. I figured it the exact coding to be simple and minimal.

Go to UserControls > Skin > LoginStatus.ascx > LoginStatus.ascx.vb

Between the If line and the Else lines add the following two lines of VB:

Dim arrNameAndVAT As Array = Split(UsersBLL.GetNameandEUVAT(DirectCast(Page, PageBaseClass).CurrentLoggedUser.ID), "|||")
KartrisLoginName.FormatString = arrNameAndVAT(0)

Similar Topics

Expand / Collapse

Reading This Topic

Expand / Collapse

Back To Top