Ticket Q260195
Visible to All Users
Duplicate

How to use server mode with "How to: Filter Lookup List Views - Scenario 4 - Custom Lookup Property Data Source"

created 15 years ago

How to use server mode with "How to: Filter Lookup List Views - Scenario 4 - Custom Lookup Property Data Source"

Show previous comments (2)

    Worked when LookupEditorMode = AllItems. In others exception occurs:
    An error occurs while applying the 'DevExpress.ExpressApp.Utils.LightDictionary`2[System.String,DevExpress.Data.Filtering.CriteriaOperator] FullTextSearchCriteria' criteria: 'Cannot apply criteria. Only descendants of the 'DevExpress.Xpo.XPBaseCollection' class can be filtered while the current collection is of the 'DevExpress.Xpo.XPServerCollectionSource' type'

    Dennis Garavsky (DevExpress) 15 years ago

      Hello Franco,
      Thanks for the update. We see the problem and we're working on it. We will keep you updated. Thanks for your patience.
      Thanks,
      Dennis

      Dennis Garavsky (DevExpress) 15 years ago

        Hello Franco,
        Thanks for your patience. We are afraid that this solution won't work if the lookup is filtered. This is simply because the XPServerCollectionSource cannot be filtered on the client - only a fixed criteria can be set for it.
        This greatly limits the functionality of the lookup, since it cannot be filtered using the Search form because we cannot override this criteria set by the developer for the custom data source collection.
        So, we should apologize because we were wrong when provided you with a not-fully functional code previously. This scenario is not fully supported in XAF and we suggest you wait for the Performance - Support fast operation with large amount of data in a nested and lookup List View (turn on server mode) suggestion.
        I've added corresponding notes about your scenario to it.
        Let me know if you need any further clarification on the subject.
        Thanks,
        Dennis

        Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

        Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.