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

Buttons Image Refresh Problem

1 Answer 17 Views
CommandBar
This is a migrated thread and some comments may be shown as answers.
Yoni
Top achievements
Rank 1
Yoni asked on 22 Oct 2013, 05:56 PM
Hello,

We currently trying the controls and encountered some bugs..
On the form load event, when setting image list to the toolbar and imagekey to a specific menu button some of the buttons does not get refresh and some do..

Is there a way to force refresh to all the buttons after changing the image key?

Thank you

1 Answer, 1 is accepted

Sort by
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 25 Oct 2013, 03:27 PM
Hello Yoni,

Thank you for contacting Telerik Support.

I have tried to reproduce the issue you are facing without success. Here is my sample code:
private void Form1_Load(object sender, EventArgs e)
{
    this.imageList1.Images.Add("check", Properties.Resources.check);
    this.imageList1.Images.Add("delete", Properties.Resources.delete);
    this.imageList1.Images.Add("print", Properties.Resources.print);
     
    this.radCommandBar1.ImageList = imageList1;
 
    this.commandBarButton1.ImageKey = "check";
    this.commandBarButton2.ImageKey = "delete";
    this.commandBarButton3.ImageKey = "print";
}

Could you please specify the exact steps in order to reproduce the problem? Thank you in advance.

Regards,
Desislava
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WINFORMS.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
Tags
CommandBar
Asked by
Yoni
Top achievements
Rank 1
Answers by
Dess | Tech Support Engineer, Principal
Telerik team
Share this question
or