in
Forums
Blogs
Files
Devexpress.Com
Client Center
Support Center
DevExpress Channel

Filter ServerCollection on ObjectType

Last post 11/17/2008 9:37 AM by Dominik Schneider. 0 replies.
Page 1 of 1 (1 items)
Sort Posts:
Previous Next
  • 11/17/2008 9:37 AM

    Filter ServerCollection on ObjectType

    Hello,

    I have a problem with a XPServerCollectionSource and filtering on the ObjectType in  a child collection.

    My code:
    XPObjectType objType = myObject.Session.GetObjectType(myObject.Session.GetClassInfo(typeof(MyClass)));
    CriteriaOperator filterCriteria = CriteriaOperator.Parse("[Collection][[ObjectType] = ?]", objType);

    What am i doing wrong?

    Thanks

    Dominik

Page 1 of 1 (1 items)
Copyright © 1998-2008 Developer Express Inc.
ALL RIGHTS RESERVED