Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
958
Registering TreeNodesCollection as UIExtensionSite
posted

When I try to register the TreeNodesCollection of an UltraTree as a CAB-UIExtensionSite like this

RootWorkItem.UIExtensionSites.RegisterSite(UIExtensionSiteNames.WindowTemplatesTreeNodes, this.Shell.WindowTemplateNodes);

I get the following error message:

"No UIElementAdapterFactory register for type Infragistics.Win.UltraWinTree.TreeNodesCollection."

I checked with your documentation and it says

UltraTreeNode
The following objects can be registered as extension sites:

  • Nodes collection
  • WinTree™ control
  • individual UltraTreeNode element

Do I have to register a special AdapterFactory as stated in the error message or what else might I do wrong?

Thanks in advance and best regards, Gerald

Parents
No Data
Reply
  • 5389
    posted

    gerald_jk,

    Did you ever get this resolved?  When creating your CAB application, did you ensure that your SmartClientApplication class inherited from IGFormShellApplication rather than the standard FormShellApplication?  This is necessary whenever using any of the NetAdvantage CAB Extensibility Kit features, including registering collections such as the UltraWinTree's TreeNodesColleciton as a UIExtensionSite.  For more details, please see the following article in our Knowledge Base:

    <http://devcenter.infragistics.com/Support/KnowledgeBaseArticle.aspx?ArticleID=10077>

     

Children