Click or drag to resize

PFUserHtmlHelper Class

Provides all tools to generate forms, controls and displays of a PFUser.
Inheritance Hierarchy
SystemObject
  HtmlHelper
    Packflow.InterfacePFUserHtmlHelper

Namespace:  Packflow.Interface
Assembly:  MicaSystems.Packflow.Interface (in MicaSystems.Packflow.Interface.dll) Version: 1.0.0.0 (2.0.0.223)
Syntax
C#
public class PFUserHtmlHelper : HtmlHelper

The PFUserHtmlHelper type exposes the following members.

Properties
  NameDescription
Public propertyCanChangeFormsAccountPassword
Gets a value indicating whether the current user can change its password.
Public propertyCanUpdate
Gets a value indicating whether the current user can update the shown user.
Public propertyEditableEntries
Gets the editable properties, excluding "internal" properties, than can only be modified inside Core.
Public propertyHtml5DateRenderingMode (Inherited from HtmlHelper.)
Public propertyPageContext
Gets the page context.
Public propertyRouteCollection (Inherited from HtmlHelper.)
Public propertyTranslations
Gets the contextual translations provided by Packflow.
Public propertyUserProfile
Gets the current user profile (=user shown in the form).

This is not the current operating user, to find it you can type PageContext.User.

Public propertyViewBag (Inherited from HtmlHelper.)
Public propertyViewContext (Inherited from HtmlHelper.)
Public propertyViewData (Inherited from HtmlHelper.)
Public propertyViewDataContainer (Inherited from HtmlHelper.)
Top
Methods
  NameDescription
Public methodAntiForgeryToken (Inherited from HtmlHelper.)
Public methodAntiForgeryToken(String) Obsolete. (Inherited from HtmlHelper.)
Public methodAntiForgeryToken(String, String, String) Obsolete. (Inherited from HtmlHelper.)
Public methodAttributeEncode(String) (Inherited from HtmlHelper.)
Public methodAttributeEncode(Object) (Inherited from HtmlHelper.)
Public methodBeginPackflowForm
Returns an opening form tag and sets controller and action information. The form uses the specified HTTP method and includes the HTML attributes from a dictionary.
Public methodControlUserForTProperty
Gets the html of a control, loaded with current user corresponding value.
Public methodControlUserSettingsForTProperty
Gets the html of a control, loaded with current user's setting corresponding value.
Public methodEnableClientValidation (Inherited from HtmlHelper.)
Public methodEnableClientValidation(Boolean) (Inherited from HtmlHelper.)
Public methodEnableUnobtrusiveJavaScript (Inherited from HtmlHelper.)
Public methodEnableUnobtrusiveJavaScript(Boolean) (Inherited from HtmlHelper.)
Public methodEncode(String) (Inherited from HtmlHelper.)
Public methodEncode(Object) (Inherited from HtmlHelper.)
Public methodFormatValue (Inherited from HtmlHelper.)
Public methodGetChangePasswordButton
Gets the HTML of the Change Password button (labeled Confirm).
Public methodGetComments
Gets a gridview placeholder containing the current user's comments.
Public methodGetHistory
Gets a gridview placeholder containing the current user's navigation history.
Public methodGetIcon
Gets the icon shown in the action bar.
Public methodGetMemberships
Gets the list of the current user's memberships.
Public methodGetNotifications
Gets a gridview placeholder containing the current user's notifications.
Public methodGetNotificationsFrame
Gets the frame (html) containing notifications.
Public methodGetUnobtrusiveValidationAttributes(String) (Inherited from HtmlHelper.)
Public methodGetUnobtrusiveValidationAttributes(String, ModelMetadata) (Inherited from HtmlHelper.)
Public methodGetUserActions
Gets the buttons shown in the action bar.
Public methodGetUserTitle
Gets the caption of the action bar.
Public methodHttpMethodOverride(HttpVerbs) (Inherited from HtmlHelper.)
Public methodHttpMethodOverride(String) (Inherited from HtmlHelper.)
Public methodPageTitle
Gets the text displayed in the title tag of the page.
Public methodRaw(String) (Inherited from HtmlHelper.)
Public methodRaw(Object) (Inherited from HtmlHelper.)
Public methodSetValidationMessageElement (Inherited from HtmlHelper.)
Public methodSetValidationSummaryMessageElement (Inherited from HtmlHelper.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Extension Methods
  NameDescription
Public Extension MethodAsT
Casts an object to another type. Returns default(T) if the object is null.
(Defined by Utils_Other.)
Public Extension MethodEqualsAll
Checks that this object is equal to every object in parameters.
(Defined by Utils_Other.)
Public Extension MethodEqualsAny
Checks that this object is equal to at least one of the parameters.
(Defined by Utils_Other.)
Public Extension MethodGetString
Converts an object to String using ToString() method, else returns String.Empty.
(Defined by Utils_Other.)
Public Extension MethodIsGenericListOverloaded.
Checks if this object is a System.Collections.Generic.List.
(Defined by Utils_Linq.)
Public Extension MethodIsGenericList(Type)Overloaded.
Checks if this object is a System.Collections.Generic.List using type as T.
(Defined by Utils_Linq.)
Public Extension MethodJson(Boolean)Overloaded.
Returns the JSON representation of the given value.
(Defined by HtmlHelperExtensions.)
Public Extension MethodJson(Object, JavaScriptEncoding, Boolean)Overloaded.
Returns the JSON representation of the given value.
(Defined by HtmlHelperExtensions.)
Public Extension MethodSerializeOverloaded.
Serializes an object into an XML document.
(Defined by Utils_Xml.)
Public Extension MethodSerialize(String)Overloaded.
Serializes an object into an XML document.
(Defined by Utils_Xml.)
Public Extension MethodSerializeJsonOverloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.)
Public Extension MethodSerializeJson(ListType)Overloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.)
Public Extension MethodSerializeJson(DataContractJsonSerializerSettings)Overloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.)
Top
See Also