web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

How to grey out a button?

(0) ShareShare
ReportReport
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

I have the same question (0)
  • awalters Profile Picture
    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
    50,091 Moderator 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
    17,078 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
    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
    1,027 Moderator 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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
Aric Levin - MVP Profile Picture

Aric Levin - MVP 2 Moderator

#2
MA-04060624-0 Profile Picture

MA-04060624-0 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans