Setting DefaultImageSrc in code broken in Q1.2010 Release

2 posts, 0 answers
  1. Michael Wolfe
    Michael Wolfe avatar
    4 posts
    Member since:
    Jun 2007

    Posted 17 Mar 2010 Link to this post

    Using the Q3.2009 release, I built a treeview dynamically in code. I create treeview items and set them to a shared BitmapImage depending on the type of data object that the treeviewitem represents. Everything worked fine.

    When I upgraded to the Q1.2010 release, the treeview no longer displays the images. They display correctly in my OutlookBar and RadContextMenus, but not the treeview. I create them with code like the following:

     

    var newItem = new RadTreeViewItem();

     

    newItem.Header = item.Group.Identity.Description;

    newItem.DefaultImageSrc = item.Group.GroupIcon.SmallIcon;

    where SmallIcon is of Type BitmapImage containing a 16 x 16 image from a png file.


    I didn't see anything mentioned in the treeview changes list for Q1.2010 but something is different.

    Any ideas what I need to change to get the images to show in the treeview?
  2. Bobi
    Admin
    Bobi avatar
    513 posts

    Posted 22 Mar 2010 Link to this post

    Hi Michael Wolfe,

    We are aware of this issue and deeply apologize for the caused inconvenience .
    We will do our best to fix this issue for the this weeks internal build.

    Kind regards,
    Bobi
    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.
Back to Top