DevExpress FilterControl
Printed From: IdeaBlade
Category: DevForce
Forum Name: DevForce Classic
Forum Discription: For .NET 2.0
URL: http://www.ideablade.com/forum/forum_posts.asp?TID=1324
Printed Date: 23-Apr-2025 at 9:03pm
Topic: DevExpress FilterControl
Posted By: f3rland
Subject: DevExpress FilterControl
Date Posted: 15-Jun-2009 at 1:08pm
As you provide binding classes for DevExpress; I wanted to know if you implemented a quick way to convert FilterCriteria property from DevExpress.XtraEditors.FilterControl into an EntityQuery?
------------- F3
|
Replies:
Posted By: kimj
Date Posted: 16-Jun-2009 at 7:38am
No, the FilterControl isn't supported by DevForce. This would make a great community contribution though! :)
|
Posted By: f3rland
Date Posted: 16-Jun-2009 at 12:50pm
This code is provided AS IS without any warranty of any kind.
This class should be able to convert ALMOST any filter defined using DevExpress FilterControl.
You should be aware that you MUST validate user inputs in your own code. <Empty value> crash the GetEntities call in many cases.
If you improve it, please share your modifications.
[VB]
uploads/152/CriteriaVisitor.vb.txt - CriteriaVisitor.vb.txt
[C#]
//Anyone to convert it to C#?
|
------------- F3
|
Posted By: kimj
Date Posted: 17-Jun-2009 at 8:27pm
|