+10
-10
@@ -33,13 +33,13 @@ Public Class CRMEstateVC
|
||||
Frame.GetController(Of DevExpress.ExpressApp.Win.SystemModule.WinModificationsController).ModificationsHandlingMode = ModificationsHandlingMode.AutoCommit
|
||||
End If
|
||||
If View.Id = "CRMEstate_Leads_CRMEstate_Leads_Activity_ListView" Then
|
||||
Frame.GetController(Of DeleteObjectsViewController).Active.SetItemValue("", False)
|
||||
Frame.GetController(Of ModificationsController).Active.SetItemValue("", False)
|
||||
Frame.GetController(Of LinkUnlinkController).Active.SetItemValue("", False)
|
||||
Frame.GetController(Of CloneObjectViewController).Active.SetItemValue("", False)
|
||||
Frame.GetController(Of DeleteObjectsViewController)?.Active.SetItemValue("", False)
|
||||
Frame.GetController(Of ModificationsController)?.Active.SetItemValue("", False)
|
||||
Frame.GetController(Of LinkUnlinkController)?.Active.SetItemValue("", False)
|
||||
Frame.GetController(Of CloneObjectViewController)?.Active.SetItemValue("", False)
|
||||
End If
|
||||
If View.Id = "OutlookEMail_DetailView_View" Then
|
||||
Frame.GetController(Of ModificationsController).Active.SetItemValue("", False)
|
||||
Frame.GetController(Of ModificationsController)?.Active.SetItemValue("", False)
|
||||
End If
|
||||
If View.Id = "CRMEstate_Leads_DetailView" Then
|
||||
For Each editor As PropertyEditor In (CType(View, DetailView)).GetItems(Of PropertyEditor)()
|
||||
@@ -68,13 +68,13 @@ Public Class CRMEstateVC
|
||||
Frame.GetController(Of DevExpress.ExpressApp.Win.SystemModule.WinModificationsController).ModificationsHandlingMode = ModificationsHandlingMode.Confirmation
|
||||
End If
|
||||
If View.Id = "CRMEstate_Leads_CRMEstate_Leads_Activity_ListView" Then
|
||||
Frame.GetController(Of DeleteObjectsViewController).Active.SetItemValue("", True)
|
||||
Frame.GetController(Of ModificationsController).Active.SetItemValue("", True)
|
||||
Frame.GetController(Of LinkUnlinkController).Active.SetItemValue("", True)
|
||||
Frame.GetController(Of CloneObjectViewController).Active.SetItemValue("", True)
|
||||
Frame.GetController(Of DeleteObjectsViewController)?.Active.SetItemValue("", True)
|
||||
Frame.GetController(Of ModificationsController)?.Active.SetItemValue("", True)
|
||||
Frame.GetController(Of LinkUnlinkController)?.Active.SetItemValue("", True)
|
||||
Frame.GetController(Of CloneObjectViewController)?.Active.SetItemValue("", True)
|
||||
End If
|
||||
If View.Id = "OutlookEMail_DetailView_View" Then
|
||||
Frame.GetController(Of ModificationsController).Active.SetItemValue("", True)
|
||||
Frame.GetController(Of ModificationsController)?.Active.SetItemValue("", True)
|
||||
End If
|
||||
|
||||
End Sub
|
||||
|
||||
Reference in New Issue
Block a user