Xafari doesnt work well with Expand Framework

StatusIDPriorityType
Closed4572ОбычныйОшибка
ProfileReply
SheldmanduClient

I have been trying to use Xafari together with Xpand Framework which is widely used with DevExpress to add lots of features that Xafari doesn't offer and I have found that Xafari doesn't seem to work well with an XAF application that uses Xpand Framework.  In particular I've been trying to use BulkEdit module but I don't even get the Panels action showing up in the Ribbon (I'm using TabbedMDI with Ribbon, so maybe that's the problem).

If I try to change the Mass edit mode I get the following exception:

System.NullReferenceException: Object reference not set to an instance of an object.
   at System.Windows.Forms.Control.MarshaledInvoke(Control caller, Delegate method, Object[] args, Boolean synchronous)
   at System.Windows.Forms.Control.Invoke(Delegate method, Object[] args)
   at DevExpress.XtraBars.ViewInfo.BarSelectionInfo.PostEditor()
   at DevExpress.XtraBars.ViewInfo.BarSelectionInfo.CloseEditor(Boolean restoreFocus)
   at DevExpress.XtraBars.ViewInfo.BarSelectionInfo.OnActiveEditor_Closed(Object sender, ClosedEventArgs e)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at DevExpress.Utils.Controls.ControlBase.WndProc(Message& m)
   at DevExpress.XtraEditors.BaseControl.WndProc(Message& msg)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Also I get the Actions action with AppearanceRules in it but get the following error if I try to invoke it, although that may be an issue with Xpand, which I will raise as a bug there too.

System.InvalidOperationException: Exception occurs while assigning the 'XpandListView, ID:CustomAppearanceRule_ListView' view to XpandWinWindow:
Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object.
   at Xpand.ExpressApp.Win.SystemModule.ImmediateRefreshListViewController.OnViewControlsCreated()
   at System.EventHandler.Invoke(Object sender, EventArgs e)
   at Xpand.ExpressApp.XpandListView.OnControlsCreated()
   at DevExpress.ExpressApp.Win.Templates.ViewSiteManager.EnsureViewControl()
   at DevExpress.ExpressApp.Win.Templates.ViewSiteManager.FillViewSite()
   at DevExpress.ExpressApp.Win.Templates.XtraFormTemplateBase.SetView(View view)
   at DevExpress.ExpressApp.Frame.SetTemplateView(View view)
   at DevExpress.ExpressApp.Frame.SetView(View view, Boolean updateControllers, Frame sourceFrame)
   --- End of inner exception stack trace ---
   at DevExpress.ExpressApp.Frame.SetView(View view, Boolean updateControllers, Frame sourceFrame)
   at DevExpress.ExpressApp.Win.WinShowViewStrategyBase.ShowViewInModalWindow(ShowViewParameters parameters, ShowViewSource showViewSource)
   at DevExpress.ExpressApp.Win.MdiShowViewStrategy.ShowViewInModalWindow(ShowViewParameters parameters, ShowViewSource showViewSource)
   at DevExpress.ExpressApp.ShowViewStrategyBase.ShowViewCore(ShowViewParameters parameters, ShowViewSource showViewSource)
   at Xafari.Win.WinCustomAppearanceViewController.saApperanceRule_Execute(Object sender, SimpleActionExecuteEventArgs e)
   at DevExpress.ExpressApp.Actions.ActionBase.ExecuteCore(Delegate handler, ActionBaseEventArgs eventArgs)

Replies

UserDescriptionPosted On
Юрий ГерманClient

Hi.

Unfortunately, we aren't doing compatibility testing Xafari and Xpand.
If you localize the problem in Xafari more accurately, we will take all steps to correct it.

Feel free to contact us if you have any question.

Юрий ГерманClient

Please, visit our new website http://galaktikasoft.com/xafari (in English).

You can submit a ticket on the page http://galaktikasoft.com/support

× This ticket is closed.