DataboundListbox that grows upward

2 posts, 0 answers
  1. Bill
    Bill avatar
    1 posts
    Member since:
    Feb 2015

    Posted 18 Feb 2015 Link to this post

    We would like to implement a DataboundListbox with a behavior that when you add an item to the listbox, the item is added to the end of the collection for the listbox and the listbox will move all visible items up so that the new item is visible at the bottom of the listbox. Also, upon displaying the listbox for the first time, the items should display with the last item visible at the bottom of the listbox.

    First attempts at using ReorderMode="MoveItemsUp" along with combining with VerticalAlignment="Bottom" is not producing the desired behavior.

    Has anyone implemented a DataboundListbox that grows upwards in such a fashion?

    Cheers,
    Bill
  2. Dimitrina
    Admin
    Dimitrina avatar
    442 posts

    Posted 23 Feb 2015 Link to this post

    Hi Bill,

    Please find an attached project that demonstrates this scenario.

    I hope this helps. Let us know if you have further questions.

    Regards,
    Dimitrina
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  3. DevCraft banner
Back to Top