SCSF & SmartPartPlaceholder

Topics: CAB & Smart Client Software Factory
Oct 12, 2006 at 8:44 PM
originally posted by: ChBaeumer


I'd like to use SmartPartPlaceholders together with the SCSF.
The placeholders are placed in the Infrastructure.Layout.ShellLayoutView.

The SmartParts for these placeholders are in seperate modules.

Now I have the following problem:

The ShellLayoutView is initialized first and then the other modules. According to the implementation the order should be reversed. But this can't be done since the other modules depend on the Infrastructure.Layout ;-)

Any suggestions how this can be done? Any HowTo for using SmartPartPlaceholders with SCSF?

Many thanx

Oct 13, 2006 at 1:18 AM
originally posted by: surajguptha

Hi Baeumer,
I dont think i can answer the part ur question about the order in which modules are loaded.

I would like to know what you want to do with SmartPartPlaceHolders? If you want to load smartparts, i would suggest you to add a few workspaces on your ShellLayoutView with the layout you want and add ur SmartParts into any of the workspaces.

Hope this helps.
Let me know if i have misinterpreted :)
Oct 13, 2006 at 2:09 AM
originally posted by: ChBaeumer

Thank you for the answer.

What I have:

The ShellLayoutView contains an Infragistics DockWorkspace.
Within the Workspace I want to create a Group (during design time) where serveral explorer should be shown.

So I created for each (known) explorer a SmartPartPlaceHolder.

So far this works.

But (!) the SmartPartPlaceholders are not replaced by the smartparts since the ShellLayoutView is the first thing which is instantiated and the smartparts are not yet registered for the SmartPartPlaceHolders.