Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
725
DataBindingsForOwners order by
posted

Hi,

I'm looking for the way to apply an order by in the list of my displayed owners

so i try to use the linq order by like this :

base.TimelineController.CalendarInfo.DataBindingsForOwners.KeyMember = "HouseRecordID";
base.TimelineController.CalendarInfo.DataBindingsForOwners.NameMember = "HouseNo";

base.TimelineController.CalendarInfo.DataBindingsForOwners.DataSource = lstHouseView.OrderBy(p=>p.HouseNo);

doesn't work.

thx

Parents
  • 71886
    Offline posted

    Hi Lahmar,

    What is not working exactly, do you get any errors with the code?

    Could you please review the sample attached to this post and see if it meets your requirements. Please feel free to let me know if I misunderstood you or if you have any other questions.

    SortOwners.zip
Reply Children