PFItemHtmlHelper Methods |
The PFItemHtmlHelper type exposes the following members.
Name | Description | |
---|---|---|
AntiForgeryToken | (Inherited from HtmlHelper.) | |
AntiForgeryToken(String) | Obsolete. (Inherited from HtmlHelper.) | |
AntiForgeryToken(String, String, String) | Obsolete. (Inherited from HtmlHelper.) | |
AttributeEncode(String) | (Inherited from HtmlHelper.) | |
AttributeEncode(Object) | (Inherited from HtmlHelper.) | |
BeginPackflowForm |
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.
| |
CustomizeActions |
Override this method to customize, add or remove actions from the actions bar.
| |
CustomizeGridViewSettings |
Customizes the settings of a given gridview.
| |
EnableClientValidation | (Inherited from HtmlHelper.) | |
EnableClientValidation(Boolean) | (Inherited from HtmlHelper.) | |
EnableGridViewCheckboxes |
Determines if the checkboxes are enabled in the gridview with the specified name.
By default, returns false. | |
EnableUnobtrusiveJavaScript | (Inherited from HtmlHelper.) | |
EnableUnobtrusiveJavaScript(Boolean) | (Inherited from HtmlHelper.) | |
Encode(String) | (Inherited from HtmlHelper.) | |
Encode(Object) | (Inherited from HtmlHelper.) | |
FormatValue | (Inherited from HtmlHelper.) | |
GetAllFieldControlMode |
Gets the control mode of all field.
| |
GetButton |
Gets the button with the specified guid.
| |
GetButtonConfirmationMessage |
Gets the confirmation message of a given button.
By default, depends on the model. No confirmation dialog is shown if the text is empty. | |
GetButtonContent |
Gets the caption of a given button.
| |
GetButtonHtml |
Gets the html of a given button.
| |
GetButtonMode |
Gets the control mode of a button.
By default, depends on page mode, button settings and the current state settings. | |
GetButtonObject |
Gets a button definition by its guid.
| |
GetCaption |
Gets the html displayed in the caption of the actions bar.
| |
GetControlHtml(PFField, Object) |
Gets the html of a PFField control, loaded with the specified value.
| |
GetControlHtml(PFField, PFFieldControlMode, Object) |
Gets the html of a PFField control in a specific mode, loaded with the specified value.
| |
GetCustomCaptionIconLetters |
Gets the custom icon letters for the actions bar caption.
| |
GetCustomFiltersForChoicePossibleItems |
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. | |
GetDefaultSection |
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. | |
GetDisplayHtml(PFField, String) |
Gets the display HTML representing a value of a PFField.
| |
GetDisplayHtml(PFField, Object, String) |
Gets the display HTML representing a value of a PFField.
| |
GetDisplayHtml(PFField, PFFieldControlMode, Object, String) |
Gets the display html representing a value of a PFField.
| |
GetDisplayText(PFField) |
Gets the display text representing a value of a PFField.
| |
GetDisplayText(PFField, Object) |
Gets the display text representing a value of a PFField.
| |
GetDisplayText(PFField, PFFieldControlMode, Object) |
Gets the display text representing a value of a PFField.
| |
GetExcelValueText | 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. | |
GetExpandedSectionIds |
Gets the list of expanded section ids in the format "1;2;3'.
| |
GetFieldControlMode |
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. | |
GetFormPart |
Gets the form part with the specified guid.
| |
GetFormPartHtml |
Gets the html of a given form part.
| |
GetFormPartObject |
Gets a form part definition by its guid.
| |
GetGridViewAsyncResult |
Gets the asynchronous result of a gridview request/action.
| |
GetGridviewEditableRow |
Generates html of a gridview editable row representing the current PFItem.
Result will contain Html or Error, set in the operation result tag. | |
GetGridViewObject |
Gets a gridview definition by its name.
| |
GetGridviewPlaceHolder |
Gets the placeholder of the gridview with the specified name.
| |
GetGridviewRow |
Generates html of a gridview row representing the current PFItem.
Result will contain Html or Error, set in the operation result tag. | |
GetInformationFrame |
Gets the frame (html) containing general informations about the current item.
No longer shown by default. | |
GetLabelHtml(PFField) |
Gets the label html of a PFField.
| |
GetLabelHtml(PFField, PFFieldControlMode) |
Gets the label html of a PFField, in a given control mode.
| |
GetLabelText |
Gets the label text of a PFField.
| |
GetLabelTooltip |
Gets the label tooltip text of a PFField.
| |
GetNotificationsFrame |
Gets the frame (html) containing notifications.
| |
GetSectionsMaxWidth |
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. | |
GetSectionsMaxWidthStyle |
Gets the sections maximum width CSS style.
| |
GetSectionTitle |
Gets the title of a section with a specified (modeling) id.
| |
GetUnobtrusiveValidationAttributes(String) | (Inherited from HtmlHelper.) | |
GetUnobtrusiveValidationAttributes(String, ModelMetadata) | (Inherited from HtmlHelper.) | |
GetWorkflowFrame |
Gets the frame (html) containing workflow informations of the current item.
No more shown by default. | |
HttpMethodOverride(HttpVerbs) | (Inherited from HtmlHelper.) | |
HttpMethodOverride(String) | (Inherited from HtmlHelper.) | |
IsControlVisible |
Determines whether a field of a given name is visible or not.
| |
IsFormPartVisible(Guid) |
Determines whether a form part with a given guid is visible or not.
| |
IsFormPartVisible(WebFormPart) |
Determines whether a form part is visible or not.
By default, is based on the model settings. | |
IsSectionExpanded |
Determines whether the specified section is expanded by default.
| |
IsSectionVisible |
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. | |
NavigationFocus |
Generates an html input containing navigation focus information.
Contains the mode (Default or Admin) and the section id separated by ";". | |
Notifications |
Gets the notifications html.
| |
Notifications(Boolean) |
Gets the notifications text or html.
| |
PageTitle |
Gets the text displayed in the title tag of the page.
| |
PermissionContextsChoice |
Generates the html of the context selection section.
| |
Raw(String) | (Inherited from HtmlHelper.) | |
Raw(Object) | (Inherited from HtmlHelper.) | |
RefreshPageOnItemContextSelection |
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. | |
SetValidationMessageElement | (Inherited from HtmlHelper.) | |
SetValidationSummaryMessageElement | (Inherited from HtmlHelper.) | |
ShowStateInCaption |
Gets a value indicating whether the state is shown in the caption of the actions bar.
| |
TechnicalInformations |
Generates an (hidden) html containing technical informations for JavaScript.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
UseCollapsableSections |
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.
| |
UseTabs |
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. | |
VersionNumber |
Generates an html input containing the loaded version number of the current item.
|
Name | Description | |
---|---|---|
AsT |
Casts an object to another type. Returns default(T) if the object is null.
(Defined by Utils_Other.) | |
EqualsAll |
Checks that this object is equal to every object in parameters.
(Defined by Utils_Other.) | |
EqualsAny |
Checks that this object is equal to at least one of the parameters.
(Defined by Utils_Other.) | |
GetString |
Converts an object to String using ToString() method, else returns String.Empty.
(Defined by Utils_Other.) | |
IsGenericList | Overloaded.
Checks if this object is a System.Collections.Generic.List.
(Defined by Utils_Linq.) | |
IsGenericList(Type) | Overloaded.
Checks if this object is a System.Collections.Generic.List using type as T.
(Defined by Utils_Linq.) | |
Json(Boolean) | Overloaded.
Returns the JSON representation of the given value.
(Defined by HtmlHelperExtensions.) | |
Json(Object, JavaScriptEncoding, Boolean) | Overloaded.
Returns the JSON representation of the given value.
(Defined by HtmlHelperExtensions.) | |
Serialize | Overloaded.
Serializes an object into an XML document.
(Defined by Utils_Xml.) | |
Serialize(String) | Overloaded.
Serializes an object into an XML document.
(Defined by Utils_Xml.) | |
SerializeJson | Overloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.) | |
SerializeJson(ListType) | Overloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.) | |
SerializeJson(DataContractJsonSerializerSettings) | Overloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.) |