Problem at RibbonBar Element

4 posts, 0 answers
  1. Tofan
    Tofan avatar
    25 posts
    Member since:
    Jun 2010

    Posted 08 Jun 2010 Link to this post

         I have a c# aplication where I have to build programaticly many RadImageButtonElements from scratch. When I move the mouse over the RadImageButtonElement the button doesn't highlight if I hover with the mouse over the button. When I add a new RadImageButtonElement from RadRibbonBar when I hover over with the mouse I see that the RadImageButtonElement will be highlighted. Can you please help me what to add to my my code so that my RadImageButtonElement can be highlighted as well. Thank you for your time and if it is not the correct forum please move this thread to the correct forum.

               At RadRibbonBar you can add an RadImageButtonElement through the Edit Items functionality. I have to create a new RadImageButtonElement programmability and cannot make the item highlighted when my mouse hovers over the RadImageButtonElement. When I add an RadImageButtonElement through Edit Items functionality then I can highlight the RadImageButtonElement when I hover with my mouse over the ribbonbar element.

    I added the code:

      RadImageButtonElement oButton = new RadImageButtonElement();

      // add image to the button and other things

      oButton.Text = oOperation.ToString();

      oButton.DisplayStyle = DisplayStyle.ImageAndText;
    oButton.TextImageRelation = TextImageRelation.ImageAboveText;
    oButton.Image = oButton.ImageClicked = oButton.ImageHovered = GetButtonImage(oOperation, true);


    rrbgOptions is the form RadRibbonBarGroup .  When I run my program inside the RadRibbonBarGroup the image buttons created with the RadImageButtonElement apears but when I move my mouse over the buttons they don't highlight. 

    When I add the Image button on using the form RadRibbonBarGroup Edit Items controls to create the Image buttons the buttons will be highlighted when I move my mouse over them.

    Can you  please help so that the Image Buttons created programaticly as shown as above can be highlighted when I move the mouse over them.

    Thank you.

  2. Boryana
    Boryana avatar
    330 posts

    Posted 14 Jun 2010 Link to this post

    Hello TB,

    Thank you for contacting us.

    Please refer to your other ticket that concerns the same topic (ticket number 316500).

    Kind regards,
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  3. Daniel
    Daniel avatar
    10 posts
    Member since:
    Sep 2016

    Posted 21 Sep 2016 in reply to Boryana Link to this post


    I too need support on this same question. Where I can find the ticket? I've looking in the ticket support forum without find nothing

    thanks in advance.


  4. Dess | Tech Support Engineer, Sr.
    Dess | Tech Support Engineer, Sr.  avatar
    3466 posts

    Posted 23 Sep 2016 Link to this post

    Hello Daniel,

    Thank you for writing.  

    Our support ticketing system is a private communication channel. Hence, you don't have access to private customer's tickets. However, I posting the answer here as well in order the community to benefit from it.

    We cannot provide a solution for RadImageButtonElement as it is not supported in the Visual Style Builder. If you like the element to be highlighted when it is hovered, you have to use the RadButtonElement. Let me know if I can assist you further.

    I hope this information helps. Should you have further questions I would be glad to help.

    Telerik by Progress
    Check out the Windows Forms project converter, which aids the conversion process from standard Windows Forms applications written in C# or VB to Telerik UI for WinForms.For more information check out this blog post and share your thoughts.
Back to Top