문제

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?

올바른 솔루션이 없습니다

다른 팁

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";
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top