Hiding Category Tab
Ever wanted to hide the default Categories tab in editmode? Well, with EPiServer CMS 5 and the EditPanel LoadPage event, you can! 
public class Global : EPiServer.Global
{
protected void Application_Start(Object sender, EventArgs e)
{
EPiServer.UI.Edit.EditPanel.LoadedPage +=
new EPiServer.UI.Edit.LoadedPageEventHandler
(EditPanel_LoadedPage);
}
void EditPanel_LoadedPage(EPiServer.UI.Edit.EditPanel sender,
EPiServer.UI.Edit.LoadedPageEventArgs e)
{
//make sure property exists before set visible to false
if (e.Page.Property["PageCategory"] != null)
e.Page.Property["PageCategory"].DisplayEditUI = false;
}
} (You need to add a reference to the EPiServer.UI.dll)
18 January 2008