How do you make a table read-only using ASP.NET's dynamic data scaffolding
-
21-08-2019 - |
Question
How do you make individual tables and/or columns read-only so the edit button won't show in ASP.NET's Dynamic Data framework?
I'm using it against an entity data context.
Is it possible?
Solution
See my article here Making a Field Read-Only via the ReadOnlyAttribute – Dynamic Data should get you what you want.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow