This is the second part of a review of the new DevExpress 13.2. In we looked in-depth at the new.
In this part I’ll go over some of the other new features including the support for warnings and confirmations in the validation module. Soft Validation Rules With 13.2, DevExpress adds support for warning/confirmation messages to the validation engine. Warnings can be used to handle an unusual but valid data entry. An example would be: The date of birth results in an age of over 100. Are you sure? Here the age of the contact is unusual but not impossible, so instead of prohibiting it entirely, we ask the user for confirmation before saving. Let’s add this rule to the MainDemo.
Open the model and navigate to the Validation node. Add a RuleValueComparison and configure it as follows Of course you could instead also define the same rule with an attribute on the Birthday property. Something like.
1 RuleCriteria('DeletionWarning', DefaultContexts.Delete, '1=0', 'Warning! Are you sure?'
, ResultType = ValidationResultType.Warning) Then I select all the contacts and press Delete, after the confirmation window, I get this: Web Application Soft validation is also available in the web application. This is what a warning looks like. I would prefer to see a Confirm button rather than the current Ignore checkbox since a button requires a single click to validate. When there are several warnings and errors at the same time, the current implementation displays them all.
I think it would be preferable if warnings were not displayed unless there are no errors. Unless DevExpress provide this as an option soon, I will attempt to extend the controller in this regard in a future post. Other new features In the 13.2 release, there is now support for runtime extension of the model. DevExpress is calling this feature custom fields and (again) it is marked as beta. This is not a feature I’ve looked at, but there are a few other non-XAF DevExpress novelties which I’d like to see working within XAF. These include.
To create more accurate search results for Devexpress Vcl 13.2.5 try to exclude using commonly used keywords such as: crack, download, serial, keygen, torrent, warez, etc. Simplifying your search should return more download results. DevExpress engineers feature-complete Presentation Controls, IDE Productivity Tools, Business Application Frameworks, and Reporting Systems for Visual Studio, Delphi, HTML5 or iOS & Android development. Whether using WPF, ASP.NET, WinForms, HTML5 or Windows 10, DevExpress tools help you build and deliver your best in the shortest time possible.
One warning The default directories for the installation have changed again. I’m sure DevExpress has some good reason for this, but if, like me, you have several different versions installed you end up with a confusing directory tree. Whenever this happens I always end up having to modify build scripts and config files so that all my tools work as expected.
For those of you who use Red Gate’s.NET Reflector, you can find my config file. Conclusions For the 13.2 release, DevExpress have focused on making the existing functionality work better rather than developing new modules. Better reports. Better validation. A better framework all round.
![Torrent Torrent](http://www.fullprogramlarindir.com/wp-content/uploads/2016/04/1iFsg8kOJMwE9Em1tB2ECtZCymw9xVWy.jpg)
Posted by Robert Anderson Dec 10 th, 2013.