Removing Category Tab from the edit tab


We want to permanently remove the Category Tab from Edit Mode as it is not required for our site.  We checked Admin Mode tabs and it is not allowing us to delete.  Is there a way where we can change the code and make this happen?




#21596 Jul 02, 2008 12:47
  • Member since: 2008

    Hello Kannan,

    Mari did a blog post about this on labs. Does this help?


    #21597 Jul 02, 2008 13:15
    Thanks. Is there any way to solve the issues mentioned in the blog?
    #21629 Jul 03, 2008 7:48
  • Member since: 2003

    When I debug, the DisplayEditUI is set to false, also when cliking the "Save" button.

    Could this be a bug, Petter? 

    #21630 Jul 03, 2008 8:22
  • Member since: 2005


    I haven't tried anything out, but it sounds like a bug to me.

    Something you could try if DisplayEditUI doesn't work is to set OwnerTab = -1 for the PageCategory property in the loaded page event. That will put that property on a non-existing tab, which will cause the category tab to not have any properties on it. And if a tab doesn't have any properties on it, it will dissapear.

    #21642 Jul 03, 2008 11:51
  • Member since: 2003
    Tried, but didn't solve it.
    #21643 Jul 03, 2008 12:38
  • Member since: 2003
    Per, did you file this as a bug? I just tried the same code in R2, with the same result.
    #25833 Nov 06, 2008 21:37
  • Member since: 2005


    No, sorry, I didn't. I have now though.

    Bug #16001: Setting DisplayEditUI=false in EditPanel.LoadedPage to hide a property is forgotten when pressing save


    Per Gunsafs
    EPiServer CMS development team

    #25841 Nov 07, 2008 10:40
  • Member since: 1996

    Well, you can of course workaround that with a small hack, see

    Include in your solution and compile should do the trick


    #25843 Nov 07, 2008 12:46
  • Member since: 2001

    "small" hack?

    In lines of code, that is a pretty big hack. :-)


    #25857 Nov 09, 2008 20:30
  • Member since: 1996

    Its just one file though ;-)


    #25860 Nov 10, 2008 9:09
First   1 2 3   Last