Frage

I am working on a legacy web app that uses the Subsonic scaffold control for CRUD functionality for lookup tables. I want to give the users the ability to do everything but delete. I was not successful in my research on trying to find a simple solution like a flag or something to disable/remove this button. Is something like this available?

Keine korrekte Lösung

Andere Tipps

Can't really see a way without changing and compiling the source from github... Best I can see is a very hacky solution where if you set a value for the readonly columns it will prevent deletion (and unfortunately also prevent creation), but will allow editing. e.g.

ctrlScaffold.ReadOnlyColumns = "fdsa";
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top