In our own list editor, we get the following exception when the selection is changed, when calling the base method OnSelectionChanged of the ListEditor:
bei DevExpress.ExpressApp.Security.ServerPermissionRequestProcessor.GetTypeToProcess(Type targetType, Object targetObject)
bei DevExpress.ExpressApp.Security.ServerPermissionRequestProcessor.IsGrantedCore(ServerPermissionRequest permissionRequest, IPermissionDictionary permissions, Boolean needToCheckBackReference)
bei DevExpress.ExpressApp.Security.ServerPermissionRequestProcessor.DevExpress.ExpressApp.Security.IPermissionRequestProcessor.IsGranted(IPermissionRequest permissionRequest)
bei DevExpress.ExpressApp.Security.ClientPermissionRequestProcessor.IsGranted(ClientPermissionRequest clientPermissionRequest)
bei DevExpress.ExpressApp.Security.ClientPermissionRequestProcessor.DevExpress.ExpressApp.Security.IPermissionRequestProcessor.IsGranted(IPermissionRequest permissionRequest)
bei DevExpress.ExpressApp.Security.SelectDataSecurity.IsGranted(IPermissionRequest permissionRequest)
bei DevExpress.ExpressApp.Security.SecurityStrategy.IsGranted(IPermissionRequest permissionRequest)
bei DevExpress.ExpressApp.DataManipulationRight.IsPermissionGranted(IPermissionRequest permissionRequest)
bei DevExpress.ExpressApp.DataManipulationRight.HasPermissionTo(Type objectType, String memberName, Object targetObject, IObjectSpace objectSpace, String operation)
bei DevExpress.ExpressApp.DataManipulationRight.CanDelete(Type type, Object targetObject, CollectionSourceBase collectionSourceBase, IObjectSpace objectSpace)
bei DevExpress.ExpressApp.SystemModule.DeleteObjectsViewController.UpdateActionState()
bei DevExpress.ExpressApp.SystemModule.DeleteObjectsViewController.DoUpdateActionState()
bei DevExpress.ExpressApp.SystemModule.DeleteObjectsViewController.View_SelectionChanged(Object sender, EventArgs e)
bei System.EventHandler.Invoke(Object sender, EventArgs e)
bei DevExpress.ExpressApp.View.OnSelectionChanged()
bei DevExpress.ExpressApp.ListView.listEditor_SelectionChanged(Object sender, EventArgs e)
bei System.EventHandler.Invoke(Object sender, EventArgs e)
bei DevExpress.ExpressApp.Editors.ListEditor.OnSelectionChanged()
bei BaseUserControlCommon.BandedListEditor.OnSelectionChanged() in c:\dev\Tools\Lvs\trunk\LvsHelper\BaseUserControlCommon\BandedListEditor.cs:Zeile 325.
Exception source: DevExpress.ExpressApp.Security.v13.2
How can we prevent that error?
Martin