The BlockedUserList type exposes the following members.

Constructors

  Name Description
Public method BlockedUserList
Constructor

Methods

  Name Description
Public method ApplyChanges
Apply web part property changes (Note: Overridden property still needs to be marked as WebPartApplyChangesAttribute).

Note: Marked with WebPartApplyChangesAttribute attribute so it is called from ApplyChanges event in the editor part to refresh the module appearance.

(Overrides BasePart..::..ApplyChanges()()()().)
Public method BindData
Binds and formats user data for display in the main list view control.
Protected method btnClearFilterUsers_Click
Protected method btnFilterUsers_Click
Protected method ClearFilterBlockedUsersList
Clear filter blocked users list.
Protected method FilterBlockedUsersList
Filter blocked users list.
Public method InvalidateCache
Invalidate cache.
Protected method lvItems_OnItemDataBound
OnItemDataBound event handler that binds each item in the part.
Protected method OnInit (Overrides BasePart..::..OnInit(EventArgs).)
Protected method OnLoad
OnLoad event handler - sets up the part.
(Overrides BasePart..::..OnLoad(EventArgs).)
Protected method OnUserUnBlocked
Raises UserUnBlocked event.
Protected method OnUserUnBlocking
Raises UserUnBlocking event.
Protected method ParseTemplateTags
Parses all template tags and generates a proper HTML based on the current template for a blocked users list.
Protected method UnBlockUser
Blocks a user from the list.

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 btnClear
btnClear control.
Protected field btnFilter
btnFilter control.
Protected field lblMessage
lblMessage control.
Protected field lvItems
lvItems control.
Protected field pager
pager control.
Protected field pnlContainer
pnlContainer control.
Protected field pnlSearch
pnlSearch control.
Protected field tbUsersFilter
tbUsersFilter control.

Properties

  Name Description
Public property AvatarSize
Gets or sets the avatar size - 1 to 80 for gravatars.
Public property DeleteConfirmationString
Block confirmation string.
Public property DeleteTooltipString
Tooltip for the delete button.
Public property HideIfEmpty
Indicates if this part is to be hidden if empty
Public property PageSize
Gets or sets the pager page size.
Public property TemplatedControl
Templated list view which is used for rendering the "repeatable" section of this control.
Public property UserId
User ID for which the blocked users list should be shown. By default this property uses Id of the currently logged user.
Public property UserProfileUrl
Gets or sets the URL of the user profile page. If empty, a postback is performed to the same page.
Public property ViewProfileString
Tooltip string that is displayed when a user hovers over the user avatar.

Events

  Name Description
Public event UserUnBlocked
User unblocked event handler.
Public event UserUnBlocking
User unblocking event handler.

See Also