To display collection properties when we have 1-M relation between two classes 'ClassA' and 'ClassB':
Collection properties will be displayed in both the View and Edit modes. Collection properties will be editable in Edit mode and read-only in View mode:
- Override 'OnLoggingOn' Sub in 'WebApplication.vb'
- add this statement to the sub
CType(MyBase.ShowViewStrategy, ShowViewStrategy).CollectionsEditMode = DevExpress.ExpressApp.Editors.ViewEditMode.Edit
Collection properties will be displayed in both the View and Edit modes. Collection properties will be editable in Edit mode and read-only in View mode:
No comments:
Post a Comment