UniGridFunctions Class |
Namespace: CMS.UIControls
public static class UniGridFunctions
The UniGridFunctions type exposes the following members.
Name | Description | |
---|---|---|
![]() ![]() | ClassName |
Gets class display name by class ID
|
![]() ![]() | ColorBar |
Returns colored div with background color specified by value parameter.
|
![]() ![]() | ColoredSpanAllowedExcluded(Object) |
Returns colored 'allowed'/'excluded' span (default CSS classes) according to boolean value
|
![]() ![]() | ColoredSpanAllowedExcluded(Object, Boolean) |
Returns colored 'allowed'/'excluded' span (default CSS classes) according to boolean value
|
![]() ![]() | ColoredSpanEnabledDisabled(Object) |
Returns colored 'enabled'/'disabled' span (default CSS classes) according to boolean value
|
![]() ![]() | ColoredSpanEnabledDisabled(Object, Boolean) |
Returns colored 'enabled'/'disabled' span (default CSS classes) according to boolean value
|
![]() ![]() | ColoredSpanIsNullYesNo |
Returns colored 'yes' span (default CSS classes) if value is null or DBNull. Returns 'no' in other cases.
|
![]() ![]() | ColoredSpanMsg(String, Boolean) |
Returns colored message (default CSS classes) according to boolean value (success/fail).
|
![]() ![]() | ColoredSpanMsg(String, Boolean, Boolean) |
Returns colored message (default CSS classes) according to boolean value (success/fail).
|
![]() ![]() | ColoredSpanYes(Object) |
Returns colored 'yes' span only (default CSS classes) according to boolean value.
|
![]() ![]() | ColoredSpanYes(Object, Boolean) |
Returns colored 'yes' span only (default CSS classes) according to boolean value.
|
![]() ![]() | ColoredSpanYesNo(Object) |
Returns colored 'yes'/'no' span (default CSS classes) according to boolean value
|
![]() ![]() | ColoredSpanYesNo(Object, Boolean) |
Returns colored 'yes'/'no' span (default CSS classes) according to boolean value
|
![]() ![]() | ColoredSpanYesNoReversed(Object) |
Returns colored 'yes'/'no' span (default CSS classes) according to boolean value reversed
|
![]() ![]() | ColoredSpanYesNoReversed(Object, Boolean) |
Returns colored 'yes'/'no' span (default CSS classes) according to boolean value reversed
|
![]() ![]() | ColorLessSpanYesNo(Object) |
Returns colorless 'yes'/'no' span according to boolean value
|
![]() ![]() | ColorLessSpanYesNo(Object, Boolean) |
Returns colorless 'yes'/'no' span according to boolean value
|
![]() ![]() | CountryName |
Gets country name by country ID
|
![]() ![]() | CultureDisplayName |
Gets the culture display name.
|
![]() ![]() | CultureName |
Gets culture names by culture codes
|
![]() ![]() | CultureNameWithFlag |
Gets culture short names by culture codes with flag and tooltip.
|
![]() ![]() | CultureShortName |
Gets culture short name by culture code
|
![]() ![]() | Date |
Gets date from the DateTime value
|
![]() ![]() | DocumentCultureFlag(DataRowView, Page) |
Gets the document culture name with flag icon.
|
![]() ![]() | DocumentCultureFlag(String, String, Page) |
Gets the document culture name with flag icon.
|
![]() ![]() | DocumentNameTooltip |
Gets the document name tooltip (Document name (Document name path)).
|
![]() ![]() | DocumentNameWithIcon |
Gets document name with document type icon.
|
![]() ![]() | FileSize |
Transforms content size in bytes to human readable form.
|
![]() ![]() | FormattedUserName |
Gets formatted user name by user ID
|
![]() ![]() | GetDataContainer |
Gets the data container from the given parameter (grid view row or data row view)
|
![]() ![]() | GetDataRowView(Object) |
Gets the data row view from the given parameter (grid view row or data row view)
|
![]() ![]() | GetDataRowView(DataControlFieldCell) |
Gets whole row for given cell.
|
![]() ![]() | GetEmptyObjectWithSiteID |
Gets empty object with specified site ID. Usable to correct check permissions.
Site ID is set from UIContext or use current site from SiteContext.
|
![]() ![]() | HTMLEncode |
HTML encodes text.
|
![]() ![]() | IsPublished |
Returns colored yes / no based on the published state of the document
|
![]() ![]() | Link |
Transforms URL to link. Link text is equal to input parameter.
|
![]() ![]() | MailTo |
Transforms email address to mailto: link. Link text is equal to input parameter.
Return null for parameters not containing valid email address.
|
![]() ![]() | ObjectSupportsDestroy |
Indicates if object supports destroy operation
|
![]() ![]() | ObjectTypeName |
Gets type info nice name from it's object name. (E.g. cms.users -> Users)
|
![]() ![]() | ShowUniGridObjectContextMenu |
Indicates if object context menu should be displayed in UniGrid.
|
![]() ![]() | SiteName |
Gets site name by Site ID
|
![]() ![]() | SiteNameOrGlobal |
Gets site name or (global) by site ID ID
|
![]() ![]() | SpanMsg |
Returns span (of specified CSS class) containing message.
|
![]() ![]() | Time |
Gets time from the DateTime value
|
![]() ![]() | UserDateTime |
Gets date time with user time zone applied without GMT shift information.
|
![]() ![]() | UserDateTimeGMT |
Gets date time with user time zone applied with GMT shift information.
|
![]() ![]() | UserName |
Gets user name by user ID
|
![]() ![]() | UserTime |
Gets time from the DateTime value
|
![]() ![]() | UserTimeZoneName |
Gets "long" string representation of used time zone (user, site or server) in form '(UTC+0:00) TimeZoneDisplayName'.
|