11/29/2011 6:04:48 PM
15993
Reputation
2214
Total posts
Hi,
these three WebParts are implemented for a demo purposes so you will need to do some changes to show the invitation lists, and PeopleSearch should be only visible when you are looking at some else's profile and he isn't your friend, if he is your friend then you will see only the label informing you that you are already friend with the user.
To show the invitation lists you will need to override the OnLoad page event and the following code:
if
(CurrentUser !=
null
)
{
ctlInvitationsSent.Visible = CurrentUser.Id.Equals(SecurityUtility.GetUserId());
ctlInvitationsReceived.Visible = CurrentUser.Id.Equals(SecurityUtility.GetUserId());
}
Regards
Rating history (Content is rated 5.00 of 1 vote(s).)
Shows who have rated the content, and the rating score.