UniGridFunctions MembersKentico 8.0 API Reference
The UniGridFunctions type exposes the following members.
Methods

  NameDescription
Public methodStatic memberClassName
Gets class display name by class ID
Public methodStatic memberColorBar
Returns colored div with background color specified by value parameter.
Public methodStatic memberColoredSpanAllowedExcluded(Object)
Returns colored 'allowed'/'excluded' span (default CSS classes) according to boolean value
Public methodStatic memberColoredSpanAllowedExcluded(Object, Boolean)
Returns colored 'allowed'/'excluded' span (default CSS classes) according to boolean value
Public methodStatic memberColoredSpanEnabledDisabled(Object)
Returns colored 'enabled'/'disabled' span (default CSS classes) according to boolean value
Public methodStatic memberColoredSpanEnabledDisabled(Object, Boolean)
Returns colored 'enabled'/'disabled' span (default CSS classes) according to boolean value
Public methodStatic memberColoredSpanIsNullYesNo
Returns colored 'yes' span (default CSS classes) if value is null or DBNull. Returns 'no' in other cases.
Public methodStatic memberColoredSpanMsg(String, Boolean)
Returns colored message (default CSS classes) according to boolean value (success/fail).
Public methodStatic memberColoredSpanMsg(String, Boolean, Boolean)
Returns colored message (default CSS classes) according to boolean value (success/fail).
Public methodStatic memberColoredSpanYes(Object)
Returns colored 'yes' span only (default CSS classes) according to boolean value.
Public methodStatic memberColoredSpanYes(Object, Boolean)
Returns colored 'yes' span only (default CSS classes) according to boolean value.
Public methodStatic memberColoredSpanYesNo(Object)
Returns colored 'yes'/'no' span (default CSS classes) according to boolean value
Public methodStatic memberColoredSpanYesNo(Object, Boolean)
Returns colored 'yes'/'no' span (default CSS classes) according to boolean value
Public methodStatic memberColoredSpanYesNoReversed(Object)
Returns colored 'yes'/'no' span (default CSS classes) according to boolean value reversed
Public methodStatic memberColoredSpanYesNoReversed(Object, Boolean)
Returns colored 'yes'/'no' span (default CSS classes) according to boolean value reversed
Public methodStatic memberColorLessSpanYesNo(Object)
Returns colorless 'yes'/'no' span according to boolean value
Public methodStatic memberColorLessSpanYesNo(Object, Boolean)
Returns colorless 'yes'/'no' span according to boolean value
Public methodStatic memberCountryName
Gets country name by country ID
Public methodStatic memberCultureDisplayName
Gets the culture display name.
Public methodStatic memberCultureName
Gets culture name by culture code
Public methodStatic memberCultureNameWithFlag
Gets culture short name by culture code with flag and tooltip.
Public methodStatic memberCultureShortName
Gets culture short name by culture code
Public methodStatic memberDate
Gets date from the DateTime value
Public methodStatic memberDocumentCultureFlag(DataRowView, Page)
Gets the document culture name with flag icon.
Public methodStatic memberDocumentCultureFlag(String, String, Page)
Gets the document culture name with flag icon.
Public methodStatic memberDocumentNameTooltip
Gets the document name tooltip (Document name (Document name path)).
Public methodStatic memberDocumentNameWithIcon
Gets document name with document type icon.
Public methodStatic memberFormattedUserName
Gets formatted user name by user ID
Public methodStatic memberGetDataRowView
Gets whole row for given cell.
Public methodStatic memberHTMLEncode
HTML encodes text.
Public methodStatic memberLink
Transforms URL to link. Link text is equal to input parameter.
Public methodStatic memberMailTo
Transforms email address to mailto: link. Link text is equal to input parameter. Return null for parameters not containing valid email address.
Public methodStatic memberObjectSupportsDestroy
Indicates if object supports destroy operation
Public methodStatic memberObjectTypeName
Gets type info nice name from it's object name. (E.g. cms.users -> Users)
Public methodStatic memberShowUniGridObjectContextMenu
Indicates if object context menu should be displayed in UniGrid.
Public methodStatic memberSiteName
Gets site name by Site ID
Public methodStatic memberSiteNameOrGlobal
Gets site name or (global) by site ID ID
Public methodStatic memberSpanMsg
Returns span (of specified CSS class) containing message.
Public methodStatic memberTime
Gets time from the DateTime value
Public methodStatic memberUserDateTime
Gets date time with user time zone applied without GMT shift information.
Public methodStatic memberUserDateTimeGMT
Gets date time with user time zone applied with GMT shift information.
Public methodStatic memberUserName
Gets user name by user ID
Public methodStatic memberUserTime
Gets time from the DateTime value
Public methodStatic memberUserTimeZoneName
Gets "long" string representation of used time zone (user, site or server) in form '(UTC+0:00) TimeZoneDisplayName'.
Back to Top
See Also