Forum  General Visual ...  Breaking Change...  Treeview and DataGridView images displaying as empty boxes in Version 6.3.6
Previous Previous
 
Next Next
New Post 8/31/2009 7:02 AM
  ori.cohen
4390 posts
1st Level Poster




Re: Treeview and DataGridView images displaying as empty boxes in Version 6.3.6 

Hello Mr. Bardi,

This is very embarrassing. Looking now in our repository, I cannot find your support request anywhere, handled and not...
I have no choice but to ask you to resend your application to us.
Please send it also to Ori [dot] Cohen [at] VisualWebGui [dot] com, with a link to this forum thread.

Regards,

Ori Cohen
Support Manager, the Visual WebGui team

 
New Post 9/27/2009 10:57 AM
  palli
11824 posts
1st Level Poster




Re: Treeview and DataGridView images displaying as empty boxes in Version 6.3.6 
Modified By palli  on 9/27/2009 1:58:01 PM)

Hi Daniel,

I took a look at your sample application you sent to support and I have the following observations:

1. Your image is located on the root folder of your application. Visual WebGui has default folders for Icons and Images that are Resources/Images and Resources/Icons. The default folders can be seen in web.config. I created a Resources folder and in there I created a Icons folder and placed the image there.

2. The TreeNode property does have an Image property, but if you set it in designer it will not be saved. In version 6.4 I checked, that this property has been removed from the designer. You can also set it by code on individual TreeNodes if you wish, but it does not appear in Intellisense.  Instead, you should add an ImageList to your form, add your images to it and then select image from there to your nodes, if you need to do this in designer.

So, by moving your image, according to 1 above, and adding an imagelist + assigning images from there to your TreeNodes, according to 2 your app works fine. Tested in 6.3.8a and 6.3.10.

Please confirm if these changes make it work for you.

Palli

 


Páll Björnsson - Visual WebGui support team - Email: support@visualwebgui.com
 
Previous Previous
 
Next Next
  Forum  General Visual ...  Breaking Change...  Treeview and DataGridView images displaying as empty boxes in Version 6.3.6
CompanionKit Bottom
.NET Web, Cloud and Mobile application delivery platform | Sitemap | Terms of Use | Privacy Statement | Copyright © 2005-2011 Visual WebGui®       Visual WebGui weblog on ASP.NET Visual WebGui Group on LinkedIn Visual WebGui updates on Twitter Visual WebGui Page on Facebook Visual WebGui YouTube Channel Visual WebGui Platform News RSS