I cannot seem to find a property on any of the command bar elements to associate it with an "imagelist". Am I missing something or can you not do this ?
I know you can add images directly but I want to use an imagelist to control the size of the images.
As far as I know, you are correct. You can set an image for one of the elements (e.g. CommandBarButton) from an ImageList but the CommandBarButton itself does not contain an imagelist property.
I can confirm that this issue has been corrected in the Q1 2011 release.
Many thanks
Paul.
0
Ivan Todorov
Telerik team
answered on 18 Mar 2011, 05:49 PM
Hi Paul,
Thank you for your question.
There is an ImageList property, so please make sure you have selected the RadCommandBar control, not some of its elements:
this.radCommandBar1.ImageList = this.imageList1;
If you are setting it at design time, please check the drop-down list above the property grid in Visual Studio to ensure that you have selected a RadCommandBar control.
I hope this will help you. If you need further help, do not hesitate to write back.
Kind regards,
Ivan Todorov
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!