fiogf49gjkf0d Nick:
Did you ever get this worked out? I tried
smrtPrt = objTab.GetSmartPartByID("GDCGProjectExtendedDetails");
but that gives an error saying that the implicit conversion from UI.Control to SmartParts.Smartparts doesn't exist. There claims to be an explicit conversion but I can't find it. I've also tried hiding the tab using Sage.Platform.WebPortal.Workspaces.Tab.TabInfo and System.Web.UI.Control but those didn't work. This is what I've tried.
Sage.Platform.WebPortal.Workspaces.Tab.TabWorkspace objTab = new Sage.Platform.WebPortal.Workspaces.Tab.TabWorkspace(); Sage.Platform.WebPortal.Workspaces.Tab.TabInfo infoTab = objTab.GetTabByID("Smart_Part_ID"); System.Web.UI.Control ctrlTab = objTab.GetSmartPartByID("Smart_Part_ID");
objTab.Hide(infoTab);
objTab.Hide(ctrlTab);
Thanks:
Bill |