"Harmonica" list view

2 posts, 0 answers
  1. Jure
    Jure avatar
    18 posts
    Member since:
    Jul 2010

    Posted 20 Aug 2010 Link to this post

    Hey!
    I would like to have various messages posted on my site stored in a listview.
    Users can post comments on those posts. Initially comments would not be displayed, but if a user clicks on a post, the listview item would expand so it would show comments also. Is this possible, or should I use another control?
  2. Dimo
    Admin
    Dimo avatar
    8330 posts

    Posted 20 Aug 2010 Link to this post

    Hello Jure,

    RadListView does not have a predefined layout with such a functionality. You can create a custom layout, but will have to take care of the expand/collapse behavior yourself.

    A RadControl, which has a vertical expand/collapse behavior is RadPanelBar - use it if it suits your requirements.

    http://demos.telerik.com/aspnet-ajax/panelbar/examples/functionality/panelbarbehavior/defaultcs.aspx

    Another possible option is a RadTreeView with templates. The posts will be root nodes, while the comments - child nodes.

    http://demos.telerik.com/aspnet-ajax/treeview/examples/functionality/templates/defaultcs.aspx

    Greetings,
    Dimo
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top