I'm also having trouble using the DisplayName Attribute. Also, DisplayName does not appear in Intellisense.
Error 1 The type or namespace name 'DisplayName' could not be found (are you missing a using directive or an assembly reference?)
In the partial class:
using
System;
using
System.Linq;
using
System.ComponentModel.DataAnnotations;
using
System.Web.DynamicData;...............
[DisplayName("Box")]
public object BoxRow
{
get
{
return _BoxRow;
}
set
{
_BoxRow = value;
}
}
Tommy