Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Damion 96 posts 331 karma points
    May 05, 2020 @ 15:05
    Damion
    0

    Hide Member Groups save button with component

    Hi,

    I have a component which hides the Action menu in the Member Groups section. I wonder is there any way to amend this to also hide the save button? I can't see any way to do it, maybe someone else knows?

    Thanks

    void TreeControllerBase_MenuRendering(TreeControllerBase sender, MenuRenderingEventArgs e)
            {
                if (sender.TreeAlias == "memberGroups")
                {
                    var v = e.Menu.Items.Remove(e.Menu.Items[0]);
                }
            }
    
Please Sign in or register to post replies

Write your reply to:

Draft