The BlockUser type exposes the following members.
Constructors
Name | Description | |
---|---|---|
BlockUser |
Constructor.
|
Methods
Name | Description | |
---|---|---|
btnBlock_Click | ||
btnViewProfile_Click | ||
CheckUserPrivileges |
Checks if the active user can add or delete other users to the list.
|
|
InvalidateCache |
Invalidate cache.
|
|
IsUserValid |
Checks if the currently selected user is valid (exists in the database, not already added).
|
|
LocalizeControl |
Localizes module labels and other settings.
|
|
OnInit | (Overrides BasePart..::..OnInit(EventArgs).) | |
OnLoad | (Overrides BasePart..::..OnLoad(EventArgs).) | |
OnPreRender | (Overrides BasePart..::..OnPreRender(EventArgs).) | |
OnUserBlocked |
Raises UserBlocked event.
|
|
OnUserBlocking |
Raises UserBlocking event.
|
|
RedirectToProfilePage |
Redirects the request to the user profile page.
|
|
SetBlockedUser |
Adds a user to the blocked user list.
|
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 | |
---|---|---|
btnBlock |
btnBlock control.
|
|
btnViewProfile |
btnViewProfile control.
|
|
lblMessage |
lblMessage control.
|
|
ltlInfoText |
ltlInfoText control.
|
|
pnlActionPanel |
pnlActionPanel control.
|
|
pnlSearch |
pnlSearch control.
|
|
scriptManagerProxy |
scriptManagerProxy control.
|
|
userSearch |
userSearch control.
|
Properties
Name | Description | |
---|---|---|
BlockUserStatus |
Used to transfer the status of the block a user operation accross page reloads.
|
|
InfoText |
Info text.
|
|
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).
|
|
TipText |
Tip text that is displayed when people search dropdown is opened.
|
|
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.
|
|
UserProfileUrl |
URL of the user profile page. If empty, a postback is performed to the same page.
|
Events
Name | Description | |
---|---|---|
UserBlocked |
User blocked event handler.
|
|
UserBlocking |
User blocking event handler.
|