WindowWorkspace Show method problem

Topics: CAB & Smart Client Software Factory
Oct 21, 2005 at 9:46 AM
originally posted by: jnicholsonfl1

I have a Form upon which I have placed a CAB Window Workspace. According to the metadata file for WindowWorkspace, I can show the worspace by calling Show(smartPart). When I attempt to do this after creating the SmartPart, I get an exception. I could use some help here! Please!
Oct 25, 2005 at 4:56 AM
originally posted by: DLorenz

Are you referencing the correct name of the WindowWorkspace? What is the error?
Oct 26, 2005 at 9:08 PM
originally posted by: mikestam1

WindowWorkspace Show metod need WindowSmartPartInfo in order to work so it need to know which WorkItem it is contained in, because the parent workitem has a collection for all WindowSmartPartInfos and coresponding views.
It exposes WorkItem property with a setter which uses a dependecy injection to connect this workspace and parent work item but doesn't work for workspaces derived from Component.
It works with other workspaces, like TabWorkspace or ZoneWorkspace, derived from control.

It looks like a bug and a question for CAB team.
Nov 4, 2005 at 10:19 AM
originally posted by: malina_amit

I had the same problem , any other zone then DeckWorkspace gave ey an exception