Search code examples
asp.netdynamic-datascaffolding

Asp.net Dynamic Data - Field not rendered on List page


I have created a Dynamic Data site against an Entity Framework Model

I have 2 fields which are nvarchar(max) in the DB and they do not get rendered on the list view

This is probably a sensible default

But how do I override this?

Have tried adding various attributes to my MetaData class e.g

[ScaffoldColumn(true)]
[UIHint("RuleData")]

But no joy with that

Any ideas?


Solution

  • It seems this can't be overidden in the version of DD I am using Had to change the data type from nvarchar(max) to nvarchar(4000), which will probably be sufficient