Hi
I cannot work out why I am getting the attached error, when trying to display images in a TreeView
I have set up the image list correctly, however when the code runs it leaves out part of the path.
Its got to be something silly
I have worked it out at last.
When you add the image the path is being created incorrectly in the designer
eg Wisej.Web.ImageListEntry imageListEntry1 = new Wisej.Web.ImageListEntry(“Images\\Blue.png”, “Blue”);
instead of
Wisej.Web.ImageListEntry imageListEntry1 = new Wisej.Web.ImageListEntry(“Images/Blue.png”, “Blue”);
Hi Ewan,
issue #1737 is fixed in Wisej release 1.5.43.
Best regards
Frank
The path is correct in the designer, it’s the rendering of the image path in the ImageList component that is broken. It’s #1737. If you assign the same ImageSource to the TreeNode it works well. If you replace the slash in the designer as a temp workaround it works but it won’t shoe the thumbnail in the designer properties.
Please login first to submit.