A new month brings with it an edition of XAF Tips & Tricks. We certainly hope the information contained herein will be of value as you explore and leverage the capabilities of the eXpressApp Framework.
New to XAF or considering it for the first time? Please visit XAF’s product page for introductory information on its built-in capabilities: devexpress.com/xaf.
As always, if you’ve come across helpful XAF-related support tickets, do share links in the comment section below. Thank you for your continued commitment to XAF!
Interesting Support Tickets
- Blazor - Enhance LookupPropertyEditor performance (that loads all data from its data source) when a Detail View is displayed (T936581)
- Blazor - Implement an Action for downloading a file (T944452)
- Blazor - Integrate a custom DevExtreme component and bind it to a data source (T953305)
- Blazor - Display total summaries in the grid control (T955946)
- Core - Display an Image Picker for a custom string property within the Model Editor Property Grid (T922330)
- Dashboards - Invoke the Dashboard Designer when clicking the Open Related Record Action (T957022)
- Security - Best Practices for Export/Import Role Permissions at runtime (without releasing a new application version to clients) (T951640)
- Web - Show suggestions in a nested List View when a user inputs text in a Detail View editor (T953305)
- WinForms - Filter a List View once you finish selecting items in the Excel-style dropdown filter menu (T957014)
- XPO - Tips related to the use of XPO within both Blazor Server and WebAssembly-based applications (T907130)
- XPO - Use XPO with Xamarin Forms and DevExpress Xamarin Controls (T952338)
New and Updated KB Articles
- How to implement the CreatedBy, CreatedOn and UpdatedBy, UpdatedOn properties in a business class
- FAQ: Role-based Access Control & User Authentication API for DevExpress XPO and Microsoft Entity Framework Core ORMs
- XAF - How to display the number of nested List View items in tab captions
Resolved Issues
- Core - In .NET Framework projects, XAFML files are opened by a plain text editor instead of the Model Editor (occurs under specific circumstances)
- Core - The Model Editor does not display newly added business classes within new Blazor projects
- Security - ASP.NET XAF applications throw ObjectDisposedException when the IsGranted method is called
- WinForms - Performance issues with specific skins in the latest hotfix of v20.1.8
- DocumentManger - Incorrect width of tabs in the latest hotfix of v20.1.8
Documentation Updates
Blazor UI
- Customize GridListEditor using a View Controller within XAF’s Blazor UI v20.2.4: Access List View Grid Control Settings Using a Controller.
- Use the DetailView.CustomizeViewItemControl method to customize property editor controls using a View Controller: Access Detail View Property Editor Settings Using a Controller.
- Update your Blazor application and its associated database: Application Update.
Asynchronous Data Loading
Load data asynchronously into XAF's WinForms Chart List Editor and PivotGrid List Editor (new in v20.2.4): Asynchronous Data Loading.
Security System
Enable and customize Security Permissions Caching.