Click or drag to resize

PFItemHtmlHelperPFItemType Methods

The PFItemHtmlHelperPFItemType generic type exposes the following members.

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.
(Inherited from PFItemHtmlHelper.)
Public methodControlForTProperty
Gets the html of a PFField control, loaded with current item corresponding value.

This method is called from generated ASPX forms. From CSharp, you can call directly the GetControlHtml method.

Public methodCustomizeActions
Override this method to customize, add or remove actions from the actions bar.
(Inherited from PFItemHtmlHelper.)
Public methodCustomizeGridViewSettings
Customizes the settings of a given gridview.
(Inherited from PFItemHtmlHelper.)
Public methodDisplayForTProperty
Gets the display html of a PFField, loaded with current item corresponding value.

This method is called from generated ASPX forms. From CSharp, you can call directly the GetDisplayHtml method.

Public methodEnableClientValidation (Inherited from HtmlHelper.)
Public methodEnableClientValidation(Boolean) (Inherited from HtmlHelper.)
Public methodEnableGridViewCheckboxes
Determines if the checkboxes are enabled in the gridview with the specified name.

By default, returns false.

(Inherited from PFItemHtmlHelper.)
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 methodGetAllFieldControlMode
Gets the control mode of all field.
(Inherited from PFItemHtmlHelper.)
Public methodGetButton
Gets the button with the specified guid.
(Inherited from PFItemHtmlHelper.)
Protected methodGetButtonConfirmationMessage
Gets the confirmation message of a given button.

By default, depends on the model. No confirmation dialog is shown if the text is empty.

(Inherited from PFItemHtmlHelper.)
Protected methodGetButtonContent
Gets the caption of a given button.
(Inherited from PFItemHtmlHelper.)
Protected methodGetButtonHtml
Gets the html of a given button.
(Inherited from PFItemHtmlHelper.)
Protected methodGetButtonMode
Gets the control mode of a button.

By default, depends on page mode, button settings and the current state settings.

(Inherited from PFItemHtmlHelper.)
Protected methodGetButtonObject
Gets a button definition by its guid.
(Inherited from PFItemHtmlHelper.)
Public methodGetCaption
Gets the html displayed in the caption of the actions bar.
(Inherited from PFItemHtmlHelper.)
Public methodGetControlHtml(PFField, Object)
Gets the html of a PFField control, loaded with the specified value.
(Inherited from PFItemHtmlHelper.)
Protected methodGetControlHtml(PFField, PFFieldControlMode, Object)
Gets the html of a PFField control in a specific mode, loaded with the specified value.
(Inherited from PFItemHtmlHelper.)
Public methodGetCustomCaptionIconLetters
Gets the custom icon letters for the actions bar caption.
(Inherited from PFItemHtmlHelper.)
Protected methodGetCustomFiltersForChoicePossibleItems
Gets the custom filters for a choice field, mixed with the filters of the view.

The result is used to refine the list of selectable values of a PFFieldChoice.

By default, returns null.

(Inherited from PFItemHtmlHelper.)
Public methodGetDefaultSection
Gets the id of the section focused by default (by scrolling or the default selected tab).

The default value is retrieved from the current item's state.

(Inherited from PFItemHtmlHelper.)
Public methodGetDisplayHtml(PFField, String)
Gets the display HTML representing a value of a PFField.
(Inherited from PFItemHtmlHelper.)
Public methodGetDisplayHtml(PFField, Object, String)
Gets the display HTML representing a value of a PFField.
(Inherited from PFItemHtmlHelper.)
Protected methodGetDisplayHtml(PFField, PFFieldControlMode, Object, String)
Gets the display html representing a value of a PFField.
(Inherited from PFItemHtmlHelper.)
Public methodGetDisplayText(PFField)
Gets the display text representing a value of a PFField.
(Inherited from PFItemHtmlHelper.)
Public methodGetDisplayText(PFField, Object)
Gets the display text representing a value of a PFField.
(Inherited from PFItemHtmlHelper.)
Protected methodGetDisplayText(PFField, PFFieldControlMode, Object)
Gets the display text representing a value of a PFField.
(Inherited from PFItemHtmlHelper.)
Public methodGetExcelValueText
Returns a text value for given field and current item, to be sent to ClosedXML API. When using date or number values, use invariant culture for serialization. When overriding, please check source.CustomFieldRenderer for any other custom renderer.
(Inherited from PFItemHtmlHelper.)
Public methodGetExpandedSectionIds
Gets the list of expanded section ids in the format "1;2;3'.
(Inherited from PFItemHtmlHelper.)
Public methodGetFieldControlMode
Gets the control mode of a field.

By default, depends on page mode, if the field is read-only, the current state settings, the section mode, and the content-type synchronization mode.

(Inherited from PFItemHtmlHelper.)
Public methodGetFormPart
Gets the form part with the specified guid.
(Inherited from PFItemHtmlHelper.)
Protected methodGetFormPartHtml
Gets the html of a given form part.
(Inherited from PFItemHtmlHelper.)
Protected methodGetFormPartObject
Gets a form part definition by its guid.
(Inherited from PFItemHtmlHelper.)
Public methodGetGridViewAsyncResult
Gets the asynchronous result of a gridview request/action.
(Inherited from PFItemHtmlHelper.)
Public methodGetGridviewEditableRow
Generates html of a gridview editable row representing the current PFItem.

Result will contain Html or Error, set in the operation result tag.

(Inherited from PFItemHtmlHelper.)
Protected methodGetGridViewObject
Gets a gridview definition by its name.
(Inherited from PFItemHtmlHelper.)
Public methodGetGridviewPlaceHolder
Gets the placeholder of the gridview with the specified name.
(Inherited from PFItemHtmlHelper.)
Public methodGetGridviewRow
Generates html of a gridview row representing the current PFItem.

Result will contain Html or Error, set in the operation result tag.

(Inherited from PFItemHtmlHelper.)
Public methodGetInformationFrame
Gets the frame (html) containing general informations about the current item.

No longer shown by default.

(Inherited from PFItemHtmlHelper.)
Public methodGetLabelHtml(PFField)
Gets the label html of a PFField.
(Inherited from PFItemHtmlHelper.)
Protected methodGetLabelHtml(PFField, PFFieldControlMode)
Gets the label html of a PFField, in a given control mode.
(Inherited from PFItemHtmlHelper.)
Protected methodGetLabelText
Gets the label text of a PFField.
(Inherited from PFItemHtmlHelper.)
Protected methodGetLabelTooltip
Gets the label tooltip text of a PFField.
(Inherited from PFItemHtmlHelper.)
Public methodGetNotificationsFrame
Gets the frame (html) containing notifications.
(Inherited from PFItemHtmlHelper.)
Public methodGetSectionsMaxWidth
Gets the max width of sections (limited by the container) in pixels.

0 will remove the width limitation.

-1 (default value) will use the default max-width.

(Inherited from PFItemHtmlHelper.)
Public methodGetSectionsMaxWidthStyle
Gets the sections maximum width CSS style.
(Inherited from PFItemHtmlHelper.)
Public methodGetSectionTitle
Gets the title of a section with a specified (modeling) id.
(Inherited from PFItemHtmlHelper.)
Public methodGetUnobtrusiveValidationAttributes(String) (Inherited from HtmlHelper.)
Public methodGetUnobtrusiveValidationAttributes(String, ModelMetadata) (Inherited from HtmlHelper.)
Public methodGetWorkflowFrame
Gets the frame (html) containing workflow informations of the current item.

No more shown by default.

(Inherited from PFItemHtmlHelper.)
Public methodHttpMethodOverride(HttpVerbs) (Inherited from HtmlHelper.)
Public methodHttpMethodOverride(String) (Inherited from HtmlHelper.)
Public methodIsControlVisible
Determines whether a field of a given name is visible or not.
(Inherited from PFItemHtmlHelper.)
Public methodIsFormPartVisible(Guid)
Determines whether a form part with a given guid is visible or not.
(Inherited from PFItemHtmlHelper.)
Public methodIsFormPartVisible(WebFormPart)
Determines whether a form part is visible or not.

By default, is based on the model settings.

(Inherited from PFItemHtmlHelper.)
Public methodIsSectionExpanded
Determines whether the specified section is expanded by default.
(Inherited from PFItemHtmlHelper.)
Public methodIsSectionVisible
Determines whether a section with a specified (modeling) id is shown or not.

By default, is based on the current state modeling settings. But returns true anyway if the unlimited modifications mode is active.

(Inherited from PFItemHtmlHelper.)
Public methodLabelForTProperty
Gets the label html of a PFField, given a certain expression.

This method is called from generated ASPX forms. From CSharp, you can call directly the GetLabelHtml method.

Public methodNavigationFocus
Generates an html input containing navigation focus information.

Contains the mode (Default or Admin) and the section id separated by ";".

(Inherited from PFItemHtmlHelper.)
Public methodNotifications
Gets the notifications html.
(Inherited from PFItemHtmlHelper.)
Public methodNotifications(Boolean)
Gets the notifications text or html.
(Inherited from PFItemHtmlHelper.)
Public methodPageTitle
Gets the text displayed in the title tag of the page.
(Inherited from PFItemHtmlHelper.)
Public methodPermissionContextsChoice
Generates the html of the context selection section.
(Inherited from PFItemHtmlHelper.)
Public methodRaw(String) (Inherited from HtmlHelper.)
Public methodRaw(Object) (Inherited from HtmlHelper.)
Protected methodRefreshPageOnItemContextSelection
Indicates if the page must be refreshed on context selection.

By default, returns true if there is any choice or user field with a scope under the application context.

(Inherited from PFItemHtmlHelper.)
Public methodSetValidationMessageElement (Inherited from HtmlHelper.)
Public methodSetValidationSummaryMessageElement (Inherited from HtmlHelper.)
Public methodShowStateInCaption
Gets a value indicating whether the state is shown in the caption of the actions bar.
(Inherited from PFItemHtmlHelper.)
Public methodTechnicalInformations
Generates an (hidden) html containing technical informations for JavaScript.
(Inherited from PFItemHtmlHelper.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUseCollapsableSections
Determines whether the sections can be collapsed or not. By default, returns TRUE if tabs are not enabled and if collapsable sections are active on the model.
(Inherited from PFItemHtmlHelper.)
Public methodUseTabs
Determines whether the sections are displayed as Tabs or not.

By default, returns false if the print mode is active, then depends on the user setting, and then on the model setting.

(Inherited from PFItemHtmlHelper.)
Public methodVersionNumber
Generates an html input containing the loaded version number of the current item.
(Inherited from PFItemHtmlHelper.)
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