Question

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?

No correct solution

OTHER TIPS

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";
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top