New Posts New Posts RSS Feed: DevExpress FilterControl
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

DevExpress FilterControl

 Post Reply Post Reply
Author
f3rland View Drop Down
Newbie
Newbie
Avatar

Joined: 13-Sep-2007
Location: Canada
Posts: 25
Post Options Post Options   Quote f3rland Quote  Post ReplyReply Direct Link To This Post Topic: DevExpress FilterControl
    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?

Edited by f3rland - 16-Jun-2009 at 12:52pm
F3
Back to Top
kimj View Drop Down
IdeaBlade
IdeaBlade
Avatar

Joined: 09-May-2007
Posts: 1391
Post Options Post Options   Quote kimj Quote  Post ReplyReply Direct Link To This Post Posted: 16-Jun-2009 at 7:38am
No, the FilterControl isn't supported by DevForce.  This would make a great community contribution though! :)
Back to Top
f3rland View Drop Down
Newbie
Newbie
Avatar

Joined: 13-Sep-2007
Location: Canada
Posts: 25
Post Options Post Options   Quote f3rland Quote  Post ReplyReply Direct Link To This Post 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]
CriteriaVisitor.vb.txt

[C#]

    //Anyone to convert it to C#?


Edited by f3rland - 16-Jun-2009 at 1:10pm
F3
Back to Top
kimj View Drop Down
IdeaBlade
IdeaBlade
Avatar

Joined: 09-May-2007
Posts: 1391
Post Options Post Options   Quote kimj Quote  Post ReplyReply Direct Link To This Post Posted: 17-Jun-2009 at 8:27pm
Thanks!
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down