protected virtual void OnClick(FriendListItemClickEventArgs e) { if (FriendClick != null) { FriendClick(this, e); } }
protected void MyFriendList_FriendClick(object sender, FriendListItemClickEventArgs e) { string userId = e.FriendId; Collection<User> users = _fbService.GetUserInfo(userId); if (users.Count > 0) { MyUserProfile.User = users[0]; MyPhotoAlbum.LoadAlbums(_fbService, userId); } }