Buttons Image Refresh Problem

2 posts, 0 answers
  1. Yoni
    Yoni avatar
    10 posts
    Member since:
    Feb 2013

    Posted 22 Oct 2013 Link to this post

    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
  2. Dess
    Admin
    Dess avatar
    1601 posts

    Posted 25 Oct 2013 Link to this post

    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 >>
  3. UI for WinForms is Visual Studio 2017 Ready
Back to Top