ZeroSharp

Robert Anderson's ones and zeros

DevExpress 14.2 Review

| Comments

This post is an overview of the brand new version XAF 14.2. The truly outstanding new feature is the ASP.NET report writer which is now available in all XAF applications.

A few months ago, we lost a potential sale because the customer wanted the ability to create custom reports from within the browser. We told them it was impossible to provide a fully-fledged report designer within our web application - but the DevExpress guys have done it! And how!

The web-based report designer

Let’s fire up the MainDemo application and navigate to the reports view. The first thing to notice is that there is a new action Show Report Designer.

The designer action is disabled because the selected report is predefined. Predefined reports are a feature of Reports v2 which were introduced in version 13.2 (see my previous review). So first, we clone the existing predefined report. I renamed the copy (via the edit button) so that we can tell them apart.

Now the Show Report Designer action is enabled. Let’s click it. Whoa! That’s one impressive user interface for a web application!

Let’s add a chart and a few controls. I thought (incorrectly) that the link to the domain model might be somewhat lacking because the report designer is not designed specifically for XAF (you can also use it with non-XAF ASP.NET or ASP.NET MVC applications) but navigating the available domain objects to select a property seemed very natural and simple.

I had a few little mouse issues while trying to resize or move controls, and there were a couple of places where the interface seemed slightly sluggish, but these were very minor issues. In general the designer is slick and easy to use. I also had a little difficulty finding the Save button, but here it is:

And here’s the live output after my modifications.

You can also start from scratch with a new blank report.

This report designer is an extremely impressive achievement. I played around with it for over an hour and it did not crash once. I managed to implement everything I tried including a chart, a bar code and a new data field.

There are some features missing from the web-based report designer compared to the Windows Forms version. Most significant is the ability to attach events and scripts to controls. Here is a full feature comparison table.

I had a quick look for the tools they used to implement it. It looks like it uses jQuery, jQuery.UI and knockout.js and you can automatically bundle the required libraries via a new setting in the web.config. There is some more information here.

On the whole I am utterly impressed. Hats off to the DevExpress team!

Other new features in XAF 14.2

The new 14.2 includes several other new features. These include the ability to store user settings in the data store as well as improvements to the speed of the grids. For a full list of the new features and improvements see here and here.

Comments