The PeopleSearch type exposes the following members.

Constructors

  Name Description
Public method PeopleSearch
Constructor.

Methods

  Name Description
Protected method AddFriend
Adds a friend to the list.
Protected method btnAdd_Click
Protected method btnBlock_Click
Protected method btnSendRequest_Click
Protected method btnViewProfile_Click
Public method CheckUserPrivileges
Checks if the active user can add or delete other users to the list.
Public method InvalidateCache
Protected method IsUserValid
Checks if the currently selected user is valid (exists in the database, not already added).
Protected method LocalizeControl
Localizes module labels and other settings.
Protected method OnBlockUser
Adds a user to the blocked user list.
Protected method OnInit (Overrides BasePart..::..OnInit(EventArgs).)
Protected method OnLoad (Overrides BasePart..::..OnLoad(EventArgs).)
Protected method OnPreRender (Overrides BasePart..::..OnPreRender(EventArgs).)
Public method RedirectToProfilePage
Redirects the request to the user profile page.
Public method SendConfirmationRequest
Sends friendship confirmation request.

Extension Methods

  Name Description
Public Extension Method ConvertTo(Type) Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.)
Public Extension Method ConvertTo(Type, TypeConverter) Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.)
Public Extension Method ConvertTo(Type, Boolean) Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.)
Public Extension Method ConvertTo(Type, TypeConverter, Boolean) Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.)
Public Extension Method ConvertTo<(Of <<'(T>)>>)()()()() Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.)
Public Extension Method ConvertTo<(Of <<'(T>)>>)(TypeConverter) Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.)
Public Extension Method GetCurrentStackTrace
Gets current stack trace information.
(Defined by ObjectExtension.)
Public Extension Method GetDebugInformation
Gets the debug information for currently executing code.
(Defined by ObjectExtension.)
Public Extension Method GetExecutingMethodName
Gets the executing method name.
(Defined by ObjectExtension.)
Public Extension Method GetPagerTemplate
Gets pager template.
(Defined by ControlExtension.)
Public Extension Method GetPropertyType
Gets a property type.
(Defined by ObjectExtension.)
Public Extension Method GetPropertyValue
Gets a property or field value from the object (Dot notation enabled).
(Defined by ObjectExtension.)
Public Extension Method PropertyExists
Check if property exists.
(Defined by ObjectExtension.)
Public Extension Method SetPropertyValue
Sets a property or field value to the object (Dot notation enabled).
(Defined by ObjectExtension.)

Fields

  Name Description
Protected field btnAdd
btnAdd control.
Protected field btnBlock
btnBlock control.
Protected field btnSendRequest
btnSendRequest control.
Protected field btnViewProfile
btnViewProfile control.
Protected field lblMessage
lblMessage control.
Protected field lblPersonalMessage
lblPersonalMessage control.
Protected field ltlInfoText
ltlInfoText control.
Protected field pnlActionPanel
pnlActionPanel control.
Protected field pnlInviteFriend
pnlInviteFriend control.
Protected field pnlSearch
pnlSearch control.
Protected field regexRequestMessage
regexRequestMessage control.
Protected field scriptManagerProxy
scriptManagerProxy control.
Protected field txtRequestMessage
txtRequestMessage control.
Protected field userSearch
userSearch control.

Properties

  Name Description
Public property AddFriendStatus
Used to transfer the status of the add friend operation accross page reloads.
Public property BlockUserStatus
Used to transfer the status of the block a user operation accross page reloads.
Public property ConfirmationMailContent
Confirmation mail contents. May include placeholders {UserName}, {FriendName}, {PersonalMessage}, {ConfirmationUrl} that will be replaced with appropriate values.
Public property ConfirmationMailSubject
Confirmation mail subject. May include placeholders {UserName} and {FriendName}.
Public property ConfirmationRequired
Defines if users has to verify the friend's invitation.
Public property 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.
Public property HtmlMail Obsolete.
Indicates if confirmation mail is to be sent in HTML format.
Public property InfoText
Info text.
Public property SearchBoxVisible
Visibility of the search box and view profile button. It can be hidden and some value can be assigned to the info text when the control is to be used for a particular user (usually on the profile page).
Public property TipText
Tip text that is displayed when people search dropdown is opened.
Public property UserFilterMode
Defines wheter to show friends only, all users from the portal, or friends, lists and groups together.
Public property UserId
User ID which is used in scenarios where the control serves to add friends to a single, static user only. The search box should not shown in this type of scenarios.
Public property UserProfileUrl
URL of the user profile page. If empty, a postback is performed to the same page.

See Also