Quantcast
Channel: DevExpress Support Center (Examples)
Viewing all articles
Browse latest Browse all 7205

How to use Criteria Property Editors

$
0
0

This example illustrates the specifics of using Criteria Property Editors in an XAF application. The complete description is available in the How to: Use Criteria Property Editors help topic.

Note: In this example, the SessionMixingException may occur if you refresh a list view filtered by criteria with object references. Several workarounds for this issue are provided in the E932 - object belongs to a different session after refresh filter with Business Entity ticket. The issue will be eliminated once the CollectionSourceBase - Refresh objects referenced by the applied criteria when the Object Space is reloaded suggestion is implemented.

See Also:
How to dynamic change the ObjectType Criteria Property Editors

Question Comments

Added By: Marco Castro at: 6/25/2014 5:24:38 AM    

Hello,

The idea is great but the most usefull fielter don't work. This filter, as example, can be created but when executed don't work because a popup window that should appear so the user can fill the desired name is not poped up.

Contains([FirstName], ?)

Thanks,
Marco Castro

Added By: Konstantin B (DevExpress) at: 6/26/2014 1:56:16 AM    Hi Marco,

I am afraid there is no option to display a popup dialog from the SingleChoiceAction's Execute event handler. This scenario will probably be supported once the following suggestion is implemented Actions - Provide the capability to easily manage placement of Actions (file menu, toolbar, grid or context (popup) menu) without customizing the template.

Added By: Douglas Zuniga at: 7/5/2017 9:06:57 AM    Hi Guys!
How can I add more custom functions for Date properties using xaf? Added By: Michael (DevExpress Support) at: 7/6/2017 12:41:33 AM    

Hello Douglas,

I've found that you already submitted a ticket with this question - T532838 - How to add more custom functions to PopupCriteriaPropertyEditor. We will answer you there.

Added By: Sławomir (debesciak) Łopuszański at: 2/6/2018 6:51:00 AM    is any easy way to add option to add new filter criteria from grid filter settings ?
In example user enter own filter or criteria on listView and if want save this filter for later use press a button "Store criteria" and this is added to FilteringCriterion table ? Added By: Michael (DevExpress Support) at: 2/6/2018 7:34:32 AM    

@Sławomir: I've created a separate ticket on your behalf (T603628: Based on E932, how to save the current grid filter as a new FilteringCriterion object). It has been placed in our processing queue and will be answered shortly.


Viewing all articles
Browse latest Browse all 7205

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>