Wasim

Topics: CAB & Smart Client Software Factory
Apr 24, 2007 at 7:34 AM
Hi all,
I'm a new user for the CAB platform using the SCSF.
I want to use a third party user control in the SellForm .
I replaced the control in the left workspace and registered the control in the UIExtensionSite as mentioned in the CAB white papers.

I did the following steps for registering :
1 . Added the control to the left workspace.
2 . Added a constant to the UIExtensions sonstants.
3 . Added a property the shellform code to the control.
4. Used the RootWorkItem.UIExtensionSites.RegisterSite(UIExtensionSiteNames.Mycontrol, this.Shell.MyControlProperty);

I get the following exception when running the project :
No UIElementAdapterFactory register for type .."the new control ".

What is the problem.
Please help...
Apr 24, 2007 at 10:13 AM
CAB only has UIElementAdapterFactory classes for Toolbars, status bars and MenuItems. When you use third party controls you have to create your own UIElementAdapterFactory, and related ones, for that control. Or ask third party control developers for them.

Take a look to this article.
http://geekswithblogs.net/kobush/archive/2006/01/24/66946.aspx

Regards!