smartpart do not find TabWorkspace

Topics: CAB & Smart Client Software Factory
Jun 17, 2006 at 1:26 PM
originally posted by: vujjeni

I have a main smartpart - I have a explorer bar on left and a tabworkspace on right. All, I want to do is display a smartpart based on an item clicked in the explorer bar into the tab workspace. My module controller subscribes to the item clicked event of the main smartpart and initializes the A.workitem that is associated with the A.smartpart that need to be displayed in the tabworkspace. The problem is, in the A.workitem Show method I try to load the A.Smartpart into the tab workspace. But A.Smartpart doesn't find the tabworkspace. What is a better way to do this and what am I doing wrong?
Jun 30, 2006 at 12:05 AM
originally posted by: juemue

Hi,

you should provide a reference to the WorkSpace as parameter of your Show method.
...like it is shown in the samples.

Regards

Jürgen