Hi there! I want to disable detail table editing (grid edit, multi-edit, etc.) based on CurrentUserLevel()
. Any tips?
You can use the ListOptions_Rendering server event.
Hi @MichaelG, thanks for responding! Actually, it’s not in the list option dropdown, but on my edit page that uses a detail table. For example, the link looks like this:
localhost:5001/MyPageEdit/MyID?showdetail=MyDetailTable
The master/detail edit link is originated from the list page. That is why you can hide the link in the first place.
If you want to keep the link and hide the detail tables regardless in the edit page, you can use the Page_Render
server event of the edit page and clear the CurrentDetailTable
. For example:
CurrentDetailTable = "";