Bug reports Found a bug? Post it here please.
Version 4.x > Bug reports > Can't change some properties of the Current User webpart View modes: 
User avatar
Member
Member
mwinningham-global-id-group - 3/24/2009 12:54:47 PM
   
Can't change some properties of the Current User webpart
I was trying to use the Current User webpart in an ASPX template and I noticed that setting ShowUserFullName="false" wasn't working, so I looked inside CMSWebParts\Membership\currentuser.aspx.cs.

In the setters for ShowLabelText, ShowUserFullName, ShowUserName, AuthenticatedLinkUrl, and PublicLinkUrl, there is a space before the end quote of the string that is the property name, which makes the setter fail.

For example:
this.SetValue("ShowUserFullName ", value);

I changed this to:
this.SetValue("ShowUserFullName", value);

And now it works as expected.

User avatar
Kentico Consulting
Kentico Consulting
kentico_mirekr - 3/25/2009 3:39:25 AM
   
RE:Can't change some properties of the Current User webpart
Hi,

Thank you for letting us know about this issue. Unfortunately, this seems to be a bug in the current version. I'm very sorry for this inconvenience. We will fix it in the nearest version. Fix was already provided here in this thread.

Thank you.

Best Regards,
Miroslav Remias