Search This Blog

Thursday, April 14, 2016

Improving usability with regard to the ImmediatePostData functionality in GridListEditor (WinForms)

As you perfectly know from my recent posts:-), one of our team OKRs was and still is "improving developer experience when accomplishing common tasks". In this blog post, I am going to cover one more small, but important improvement in XAF v15.2.10+ that adds to this larger goal:


In short, the previous custom-tailored solution is no longer required, as the corresponding code has been moved to the standard delivery. You can see the result in this short video.


Not to cause breaking changes a minor 15.2 version, you can activate this behavior in an editable GridListEditor via the static ImmediatePostDataSupportEnabled option. 
...
namespace MainDemo.Win {
    public class Program {
        [STAThread]
        public static void Main(string[] arguments) {
 DevExpress.ExpressApp.Win.Editors.GridListEditor.ImmediatePostDataSupportEnabled = true;
...
The ImmediatePostDataSupportEnabled option has its default value set to True by default in v16.1.


You can test this improvement right away after installing the following hot fix build: 

I am looking forward to hearing from you once you have had an opportunity to test the latest build with your real WinForms projects.

No comments:

Post a Comment