This project is read-only.

ColumnName Helpers 

ColumnName Helpers display the the Name of a column of a collection of items by exploring the DataAnnotation of its items. In particular they display the ShortName, or the Name(if no ShortName is provided) defined on a property of the collection item type.

If the helper is used in a template istantiated with an Item type one can use the ColumnNameFor  helper. If the Column name has to be inserted in the same template or View where the collection is rendered one can use the ColumnNameForCollection helpers or the ColumnNameForTrackedCollection if the collection uses the Tracker<T> object to perform changes tracking. The use and the parameters of the  ColumnName helpers are similar to the ones of the SortButtons explained here.

Last edited Jun 22, 2014 at 11:57 AM by frankabbruzzese, version 3


No comments yet.