protected MetaTable table;
protected void Page_Load(object sender, EventArgs e)
{
table = DetailsDataSource.GetTable();
Title = table.DisplayName;
}
foreach (MetaColumn column in table.Columns)
{
if (column.Attributes.OfType<MyCustomAttribute>().Count() > 0)
......
}
}
This is based on a tip found at this blog.
No comments:
Post a Comment