Expander Image should always be displayed

4 posts, 0 answers
  1. Prash
    Prash avatar
    27 posts
    Member since:
    Jan 2009

    Posted 04 Mar 2009 Link to this post


    I have a requirement wherein I want that the expanding image should always be visible irrespective of the child Item present or not.

    I tried a lot but could not get how to do it.

    A sample code would be helpful.

    thanks and regards
  2. Tihomir Petkov
    Tihomir Petkov avatar
    576 posts

    Posted 09 Mar 2009 Link to this post

    Hi Prash,

    I am attaching a sample project that demonstrates how you can implement your scenario. Let me  know if you have further questions.

    Kind regards,
    Tihomir Petkov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  3. Jose
    Jose avatar
    3 posts
    Member since:
    Sep 2012

    Posted 18 Nov 2011 Link to this post

    I have a similar requirement but in my case I need the expander to look like it has items underneath it (arrow facing down for example).

    I did something similar to this on a TreeListView by setting the "IsExpandable" property to true during the RowLoaded event.  Is there something similar on the TreeView?
  4. Tina Stancheva
    Tina Stancheva avatar
    3299 posts

    Posted 23 Nov 2011 Link to this post

    Hi Jose,

    You can follow the same approach but define a custom style for the Expander element of the RadTreeViewItems. The RadTreeView control exposes a ExpanderStyle property that allow you to set a custom style for the expander element of the items.

    Please take a look at the sample I attached and let me know if it helps.

    Tina Stancheva
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Back to Top