This is a migrated thread and some comments may be shown as answers.

Imagelist

3 Answers 91 Views
This is a migrated thread and some comments may be shown as answers.
Paul
Top achievements
Rank 1
Paul asked on 16 Mar 2011, 10:55 AM
Hi

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.

Thanks in advance.


Paul.

3 Answers, 1 is accepted

Sort by
0
Richard Slade
Top achievements
Rank 2
answered on 16 Mar 2011, 11:31 AM
Hi Paul,

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.

Regards,
Richard
0
Paul
Top achievements
Rank 1
answered on 17 Mar 2011, 12:08 PM
Hi

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!
Asked by
Paul
Top achievements
Rank 1
Answers by
Richard Slade
Top achievements
Rank 2
Paul
Top achievements
Rank 1
Ivan Todorov
Telerik team
Share this question
or