Try Now
More in this section

Forums / Bugs & Issues / Lists collapse and expand issue

Lists collapse and expand issue

2 posts, 0 answered
  1. Vangelis
    Vangelis avatar
    153 posts
    07 Jan 2006
    16 Jun 2007
    Link to this post
    I've created a list and put it on a page as expandable. If I expand one link then when I press expand all this item collapse. This is a little miss guiding about what top option does.

    Also can you suggest me a way to have in bottom of all expanded lists a link to collapse. This is very useful if the text is too large and you want to collapse it to open another item.

    Best regards

  2. Vassil Daskalov
    Vassil Daskalov avatar
    261 posts
    18 May 2013
    19 Jun 2007
    Link to this post
    Hello Vagelis Kretsimos,

    Thanks for reporting this issue. It seems we did not take a closer look at that one. It will be fixed for the upcoming release.

    In the Sitefinity/ControlTemplates/Lists/ExpandableListTemplate.ascx you could add the following link into the contentContainer div:

    <a href="javascript:toggleDisplay('<%# String.Format("{0}", Container.FindControl("contentContainer").ClientID) %>', '<%# String.Format("{0}", Container.FindControl("headlineContainer").ClientID) %>');">Collapse</a>

    Hope this helps.

    Vassil Daskalov
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
2 posts, 0 answered