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

Problem at RibbonBar Element

3 Answers 100 Views
RibbonBar
This is a migrated thread and some comments may be shown as answers.
Tofan
Top achievements
Rank 1
Tofan asked on 08 Jun 2010, 10:23 AM

     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.Items.Add(oButton);

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.

3 Answers, 1 is accepted

Sort by
0
Boryana
Telerik team
answered on 14 Jun 2010, 11:43 AM
Hello TB,

Thank you for contacting us.

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

Kind regards,
Boryana
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.
0
Daniel
Top achievements
Rank 1
answered on 21 Sep 2016, 02:06 PM

Hi!

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.

Daniel

0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 23 Sep 2016, 01:51 PM
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 , 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.

Regards,
Dess
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.
Tags
RibbonBar
Asked by
Tofan
Top achievements
Rank 1
Answers by
Boryana
Telerik team
Daniel
Top achievements
Rank 1
Dess | Tech Support Engineer, Principal
Telerik team
Share this question
or