Hi,
In WebEditDashboardController EditAction is deactivating in OnActivated event as show below. But it is not activating back in OnDeactivated event.
This is causing the EditAction is deactivated in all views.
C#protected override void OnActivated() {
base.OnActivated();
UpdateActionState();
View.AllowEdit.SetItemValue(EnabledInDashboard, false);
ListViewController listViewController = Frame.GetController<ListViewController>();
if(listViewController != null) {
listViewController.EditAction.Active.SetItemValue(EnabledInDashboard, false);
}
}
protected override void OnDeactivated() {
base.OnDeactivated();
}
Thansk,
Akın GÜNEŞ
GÜNCEL YAZILIM
HI Akin,
Thank you for contacting us. I am afraid that we need more time to discuss this with our R&D team. Please bear with us. We will get back to you as soon as possible.
Hi Uriah,
Thank you for your answer. I am looking forward to hear from you.
Thanks.
Hello Akin,
I've replicated this behavior using our FeatureCenter.Web demo using these steps:
Currently, you can use the following temporary solution:
using DevExpress.ExpressApp.Web.SystemModule; namespace FeatureCenter.Module.Web { public class WebEditDashboardControllerEx: DevExpress.ExpressApp.Dashboards.Web.WebEditDashboardController { protected override void OnDeactivated() { ListViewController listViewController = Frame.GetController<ListViewController>(); if(listViewController != null) { listViewController.EditAction.Active.SetItemValue(EnabledInDashboard, true); } base.OnDeactivated(); } } }
Please accept our apologies for any inconvenience here.
Hi Dennis,
Thank you for your answer. I have already used a workaround to solve .
I just wanted to report you this bug and hope it will be fixed next release.
Thanks,
Akın GÜNEŞ
My team and I appreciate your help, Akin!