Display the collection value into drop down RRS feed

  • Question

  • Hi attached the collection :


    Now, in the Tour drop down above the collection list , I only want to add tours for this particular member.
    It is showing all tours but I want it to show only BIG BAD WOLD and CITIBANK.

    This is the code for collection List:

    [Association("Lead-LeadTour"), Aggregated]
            public XPCollection<Lead_Tour> LeadTours
                get { return GetCollection<Lead_Tour>("LeadTours"); }

    This is the code I added for drop down :
            [Association("LeadTour-Tour"), Aggregated]
            public Tour Tour
                   if (LeadTours.Count > 0)
                       _tour = Session.GetObjectByKey<Tour>(this.LeadTours[0].ReserveTourID.ID);

                  return _tour;
                set { SetPropertyValue("Tour", ref _tour, value); }

    But it is showing all the tours not the specific tour for that member.

    Kindly help me 
    Friday, May 17, 2019 6:14 AM

All replies

  • Hi

    Thank for posting here.

    Based on your picture, I want to know what your current project is. If your project is a web application, you could post in the following forum. If not, please provide the complete code.​​​​​​​

    Best Regards,


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact

    Friday, May 17, 2019 9:26 AM
  • XPCollection and the attributes you are talking about are related to DevExpress libraries. Please post questions related to third party products in their forums. We only support MS products in the MSDN forums.

    Michael Taylor

    Friday, May 17, 2019 2:08 PM