Hello everybody!
I cannot reproduce the behavior but suddenly all of the icons in my UltraToolbarsManager were lost.
I tried some .Ribbon.FileMenuStyle settings and at last
ultraToolbarsManager.Office2007UICompatibility = false;
Is it possible that this is the reason?
Do you have any other idea?
Thank you very much and kind regards.
Tom
Hello Tom,
When you say icons, are you referring to the actual icon images themselves or the tools that use the icons? In either case, I'm not sure what would have caused them to disappear.
If you're referring to the tools, it's possible that that they still exist but are just not on any of the toolbars or ribbon tabs you're using. I would suggest checking the Tools collection of the UltraToolbarsManager. If they're still in that collection, then all you need to do is add them to the toolbars or ribbon tabs again.
Hello Dave,
I'm reffering to the tools which use the icons. It's very astonishing: Icons got lost in every Windows Form at the same time.
What do you mean with "still exist but are just not on any of the toolbars or ribbon tabs"? The tools are still in the collection but there's no icon for each tool. I typically choose the images (small and large) by "Select From File/Resource" and then "Local Resource/Import".
Where are the icons saved after this?
Which lines of code get produced after referring the icons?
Thanks Tom
Thank you for this information.
I'm not sure why this issue occurred, but I don't believe it's a NetAdvantage issue since our controls delegate to the resource handling facilities that are built in to Visual Studio.
Were there any non-NetAdvantage controls that were affected?
Of course I only use Infragstics-Controls!!! :-)
I am having the same issue, and it has happened to me twice now.
Nearly every UltraToolbarsManager loses its images at the same time. The first time, I was not adding the images to the resources folder. I had to "re-find" the images again to associate them again. This last time, all of the images were still in the resources folder and I just had to set the images again. It is rather frustrating though, and very time consuming. This has only happened to the Infragistics controls. Any "regular" toolbar I had with images never lost the images.
I'm hoping there is a quick and easy way to set these images... I'm only half way through and losing my patience.
Hello mictherr,
Thank you for this information. As mentioned in my previous post, this should not be happening to just Infragistics controls.
I have never had this issue happen to me with either NetAdvantage or non-NetAdvantage controls. In order to look into the cause of this issue I would need to be able to reproduce the issue. Would either of you be able to provide me with steps to take to reproduce the issue?
Unfortunately, I'm not sure what I did to produce the issue in the first place. It was essentially a "here today, gone tomorrow" kind of incident. Nothing out of the ordinary was done to create this issue.
I can't clearly remember if this was the same for the first time, but I believe this is only affecting one form in particular.
Unsure if this is related, but my ultragrids often lose any formatting I've applied (hiding columns, changing header text) and need the data schema refreshed at design time. I've taken to programming these changes at run-time instead. I've read that this can happen when you change the structure of the dataset it's bound to, but I've had it happen as frequently as between every debug session - not at all in response to a dataset change. If the design view of the form is not displayed, it's often unaffected so I tend to only look at design view when I absolutely have to.
Hello Markus,
I did some more research into the issue with large images not showing when they're stored in ImageLists. As it turns out, our developers are aware of the issue. They have determined that resolving the issue would cause a large number of breaking changes throughout our Windows Forms control suite.
I would recommend setting the images on the tools individually. You can set both the small image and the large image in the SharedProps and they'll apply to every instance of the tool.
Hello everyone,
can someone give me some advices or example how specify a small image list and a large image list for the ribbon and use differnt image sizes for individual tools? Showing small images in one group and showing large images in another group under the same tab or other tab-groups.
I'm using 11.2.20112.2050.
Regards
Markus
This happens also to me a few times. I have now specified a image list small and a image list large where the images are loaded. The image lists are assigned to the toolbar manager properties 'ImageListLarge' and 'ImageListSmall'. The sizes are correctly set.
The images in the toolbar are gone, but are still visible in the image list. If I specify the tool property preferred size = Default, the small image is shown, but in the other way preferred size = Large, no image is shown.
Initially I have set the images to large and all they were visible. I can not say what happens, but are images are not visible anymore.
I guess there is a bug in handling the image lists. If I browse the properties of the ribbon group -> tools -> shared props -> apperance large -> appearance -> image: always the small image name is set and I can not change this selecting the prefered size and assigning an image from large image list.
Hello,
As it turns out, without a reliable way to consistently reproduce the issue, it's not possible for us to determine why the issue is happening or how to prevent it from happening.