Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WinForms > Ribbonbar > How to display selected button

Answered How to display selected button

Feed from this thread
  • Posted on Feb 15, 2009 (permalink)

    Question - is it possible to maintain the visual state of a RadButtonElement or a RadImageButtonElement once the button is clicked?  By this I mean exactly the same thing that happens in the text editor for posting something to this forum, if you click the  bold, italics or underline button.  It stays "selected" until you click the button again.

    I am having a hard time getting similar functionality out of button elements on RadRibbonBar to show that a specific option is in use currently...

    Thanks!

    Justin

    Reply

  • Answer Deyan Deyan admin's avatar

    Posted on Feb 16, 2009 (permalink)

    Hi Justin,

    Thanks for writing.

    In your case, I would suggest that you use the RadToggleButtonElement instead of RadButton or RadImageButton. The RadToggleButton control is particularly designed to support the behavior you require.

    You can easily add RadToggleButtonElement to your chunks in a RadRibbonBar by clicking the Edit Items action from the Smart Tag of the chunk you want to edit.

    I hope this will help you. Do not hesitate to get back to me in case of further questions.

    Best wishes,
    Deyan
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.

    Reply

  • Posted on Feb 16, 2009 (permalink)

    Deyan, thank you for your response.  I was looking at the toggle button for this but was not sure, appreciate the suggestion...

    Justin

    Reply

  • Deyan Deyan admin's avatar

    Posted on Feb 17, 2009 (permalink)

    Hi Justin,

    Thanks for getting back to me.

    I hope my suggestion works for you.

    Please, let me know if you need further assistance :-)

    Greetings,
    Deyan
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.

    Reply

  • Posted on Feb 17, 2009 (permalink)

    ToggleButton seems to be providing me exactly what I was looking for - thanks.

    Justin

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WinForms > Ribbonbar > How to display selected button
Related resources for "How to display selected button"

[ Features | Demos | Documentation | Knowledge Base | Telerik TV | Code Library | Step-by-step Tutorial | Blogs | Self-Paced Trainer ]