The FriendSuggestionsList type exposes the following members.
Constructors
Name | Description | |
---|---|---|
FriendSuggestionsList |
Constructor
|
Methods
Name | Description | |
---|---|---|
AddFriendOrSendRequest |
Adds a friend or sends a confirmation request.
|
|
AppliedPersonalizationState |
Raised after personalization data is applied to the specified System.Web.UI.WebControls.WebParts.WebPart
control when requested to do so by the parent System.Web.UI.WebControls.WebParts.WebPartManager
control.
(Overrides BasePagedPart..::..AppliedPersonalizationState(WebPart).) |
|
ApplyChanges |
Apply web part property changes (Note: Overridden property still needs to be marked as WebPartApplyChangesAttribute).
(Overrides BasePart..::..ApplyChanges()()()().)Note: Marked with WebPartApplyChangesAttribute attribute so it is called from ApplyChanges event in the editor part to refresh the module appearance. |
|
BindData |
Binds and formats user data for display in the main list view control.
|
|
CheckUserPrivileges |
Checks if the user has delete privileges on this module.
|
|
GetFriendRequestCaption |
Formats friend request label caption
|
|
GetFriendRequestMessage |
Formats friend request message
|
|
InvalidateCache |
Invalidates friend suggestions list cache for current user and for invited user.
|
|
IsUserValid |
Validates if the user is valid
|
|
LoadPostData |
Used to implement link button event handling capabilities in late bound scenarios.
|
|
lvItems_OnItemDataBound |
OnItemDataBound event handler that binds each item in the part.
|
|
OnFriendConnectCanceled |
Raises FriendConnectCanceled event.
|
|
OnFriendConnected |
Raises FriendConnected event.
|
|
OnFriendConnecting |
Raises FriendConnecting event.
|
|
OnFriendSearch |
Raises FriendSearch event.
|
|
OnInit | (Overrides BasePart..::..OnInit(EventArgs).) | |
OnLoad | (Overrides BasePart..::..OnLoad(EventArgs).) | |
OnPreRender | (Overrides BasePart..::..OnPreRender(EventArgs).) | |
ParseTemplateTags |
Parses all template tags and generates a proper HTML based on the current template for a friend list.
|
|
RaisePostDataChangedEvent |
Extension Methods
Name | Description | |
---|---|---|
ConvertTo(Type) | Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.) |
|
ConvertTo(Type, TypeConverter) | Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.) |
|
ConvertTo(Type, Boolean) | Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.) |
|
ConvertTo(Type, TypeConverter, Boolean) | Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.) |
|
ConvertTo<(Of <<'(T>)>>)()()()() | Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.) |
|
ConvertTo<(Of <<'(T>)>>)(TypeConverter) | Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.) |
|
GetCurrentStackTrace |
Gets current stack trace information.
(Defined by ObjectExtension.) |
|
GetDebugInformation |
Gets the debug information for currently executing code.
(Defined by ObjectExtension.) |
|
GetExecutingMethodName |
Gets the executing method name.
(Defined by ObjectExtension.) |
|
GetPagerTemplate |
Gets pager template.
(Defined by ControlExtension.) |
|
GetPropertyType |
Gets a property type.
(Defined by ObjectExtension.) |
|
GetPropertyValue |
Gets a property or field value from the object (Dot notation enabled).
(Defined by ObjectExtension.) |
|
PropertyExists |
Check if property exists.
(Defined by ObjectExtension.) |
|
SetPropertyValue |
Sets a property or field value to the object (Dot notation enabled).
(Defined by ObjectExtension.) |
Fields
Name | Description | |
---|---|---|
AddFriendCommand |
Add friend command.
|
|
btnCancelRequest |
btnCancelRequest control.
|
|
btnSearchPeople |
btnSearchPeople control.
|
|
btnSendRequest |
btnSendRequest control.
|
|
FriendSuggestionsListCacheKey |
Friend suggestion list cache key.
|
|
lblEmpty |
lblEmpty control.
|
|
lblPersonalMessage |
lblPersonalMessage control.
|
|
lblStatusMessage |
lblStatusMessage control.
|
|
lvItems |
lvItems control.
|
|
pager |
pager control.
|
|
plhFriendSuggestions |
plhFriendSuggestions control.
|
|
plhSendMessage |
plhSendMessage control.
|
|
pnlContainer |
pnlContainer control.
|
|
pnlSearchBox |
pnlSearchBox control.
|
|
txtRequestMessage |
txtRequestMessage control.
|
|
txtSearch |
txtSearch control.
|
|
txtweSearch |
txtweSearch control.
|
|
upFriendList |
upFriendList control.
|
Properties
Name | Description | |
---|---|---|
AvatarSize |
Gets or sets the Avatar size - 1 to 80 for gravatars.
|
|
ConfirmationMailContent |
Confirmation mail contents. May include placeholders {UserName}, {FriendName}, {PersonalMessage}, {ConfirmationUrl} that will be replaced with appropriate values.
|
|
ConfirmationMailSubject |
Confirmation mail subject. May include placeholders {UserName} and {FriendName}.
|
|
ConfirmationRequired |
Gets or sets the value determening if the users has to verify the friend's invitation.
|
|
ConfirmationUrl |
Confirmation URL to which the user will be redirected after the request is confirmed, may contain placeholder {RequestId} which will be replaced by the friend request ID.
|
|
HideIfEmpty |
Indicates if this part is to be hidden if empty.
|
|
HtmlMail |
Indicates if confirmation mail is to be sent in HTML format.
|
|
MaxConnectionLevels |
Gets or sets the max connection level - the maximum number of levels.
|
|
NumberOfFriendSuggestions |
Gets or sets the number of friend suggestions.
|
|
PageSize |
Pager page size.
|
|
SelectedUserId |
Gets or sets the Selected user Id to whom the friend request will be sent
|
|
ShowSearchBox |
Gets or sets a value indicating if the search box should be shown or hidden.
|
|
SuggestionMode |
There are a two different behaviours of this control.
When it is in a "paged mode", it shows all users connection. Pager is visible in this mode.
When it is in a "shorten mode" it show random users. Pager is not visible in this mode.
|
|
TemplatedControl |
Templated list view that is used for rendering the "repeatable" section of this control.
|
|
UserId |
User ID for which the friend list should be shown. By default this property uses Id of the currently logged user.
|
|
UserProfileUrl |
Gets or sets the URL of the user profile page. If empty, a postback is performed to the same page.
|
|
ViewProfileString |
Tooltip string that is displayed when a user hovers over the user avatar.
|
Events
Name | Description | |
---|---|---|
FriendConnectCanceled |
Occurs when a friend request is canceled.
|
|
FriendConnected |
Occurs when a friend request is sent
|
|
FriendConnecting |
Occurs when a user is connecting with a specific user
|
|
FriendSearch |
Occurs when user searches for a specific user
|