Implementing ARM in WinModule.cs doubles ribbon bar buttons in XAF solutions, double "New" button in List Views, double "Save" buttons in Detail Views. According to https://documentation.galaktika-soft.com/xafari/doc_arms, WinModule.cs was modified. In "public override void Setup(XafApplication application)" added "application.CreateCustomTemplate += application_CreateCustomTemplate;" Here is event handler:
Please correct your project according to this ticket.
Let us know if this helped.
Regards, Mariya On behalf of Xafari Client Services Team
UKClient
Thanks, dock panels are working now.
ARM implementation with:
if (e.Context == TemplateContext.ApplicationWindow) e.Template = true ? new ArmsMainForm() : null;
results in error : "BarItem of the "DevExpress.ExpressApp.Win.Templates.ActionContainers.ActionContainerBarItem" type is expected, but was "DevExpress.XtraBars.BarLinkContainerExItem". It seems that the new template type (Ac.Module.Win.TabbedMDIDetailRibbonFormV2) is used for the Detail Form while for the Main Form a template of the old type (Xafari.Arms.Win.Templates.ArmsMainForm) is used. To avoid this error, use templates of the same types only. Refer to http://documentation.devexpress.com/#Xaf/CustomDocument2618 for more details."
MariyaVoytovichAgent
You can implement your arm template based on new template type. For more information see ticket Custom Arms Template
Regards, Mariya On behalf of Xafari Client Services Team
UKClient
Implemented arm template but now navigation from default navigation menu results in "Error message: Unable to execute disabled or inactive action ShowNavigationItem. Disable reasons: , inactive reasons: Controller active". Can both navigations coexists at all and how to properly disable default navigation menu?
MariyaVoytovichAgent
Hello!
Both navigation systems cannot be activated together. When connecting ARMs, the navigation system should be deactivated by default.. Please check if you connected the ARM. The default navigation system should be disabled when ArmController is activated.
Regards, Mariya On behalf of Xafari Client Services Team
UKClient
Hello Mariya,
default navigation is not disabled, it is still present on left side.
UKClient
Hello Mariya,
default navigation is not disabled, it is still present on left side.
Regards, Mariya On behalf of Xafari Client Services Team
UKClient
Hello Mariya,
it works now and thank you.
Can you perhaps provide some reference for Dock Panel with special controls other than ListView, e,g, Chart that is also depends on selection of object in main window list view?
UKClient
Hello Mariya,
it works now and thank you.
Can you perhaps provide some reference for Dock Panel with special controls other than ListView, e,g, Chart that is also depends on selection of object in main window list view?
MariyaVoytovichAgent
Hello!
We have a demo example Northwind. There are implemented Dock Panels with different types of relation between data (Dock Panels. Data Relation). To see the panel dock in action: 1. run the example (through the demo center or from the folder C:\Users\Public\Documents\Xafari Framework v19.2.6011 Demos\Northwind\Win) 2. in the navigation bar, go to Main\Documents\Orders
A list form with dock panels will open. See Dock Panels.
Regards, Mariya On behalf of Xafari Client Services Team