Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

How to grey out a button?

Posted on by 3,079

Is there any way to grey out a ribbon button?  i.e. make it still visible, but disabled?  (The idea being that this is conditional, and I'd add tip text to explain why...)

*This post is locked for comments

  • awalters Profile Picture
    awalters 3,079 on at
    RE: How to grey out a button?

    I was thinking about changing the alert, but I was ideally hoping to keep them from clicking the button entirely.  Looks like I'll have to fall back to that Plan B, then.  Thanks!  (The image idea is a good one - sadly, these are sub-entries of a flyout, so it wouldn't apply in this case.)

  • Verified answer
    gdas Profile Picture
    gdas 50,085 on at
    RE: How to grey out a button?

    Hi Allision,

    Ideally there is no supported way to greyout button. Using enable rule and display rule will hide/show the  button , enable rule is basically working on client side or after DOM loaded  and display rule hide before loading HTML DOM .

    Following workaround you can follow -

    Add some condition in button action function and display the button always and depending on the the condition do the action otherwise not or give some alert.

    You can also add one more button with greyout images and display that button when you want to show button greyout and hude the actual button.

  • Verified answer
    Nithya Gopinath Profile Picture
    Nithya Gopinath 17,074 on at
    RE: How to grey out a button?

    Hi Allison,

    There is no supported way to achieve this functionality.

    See: community.dynamics.com/.../244995

  • awalters Profile Picture
    awalters 3,079 on at
    RE: How to grey out a button?

    I'm using Ribbon Workbench - however, I don't see any way to grey a button out.  Both the Enable and Display rules hide the button, not grey it out.  I haven't seen anything else in there that seems like it'll do it...am I missing something?

  • Suggested answer
    Adrian Begovich Profile Picture
    Adrian Begovich 21,009 Super User 2024 Season 2 on at
    RE: How to grey out a button?

    Hi Allison Walters,

    You can grey out a button with the Ribbon Workbench for Dynamics 365 & Dynamics CRM.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans