Skip to content

Tag: Ribbon

Model-Driven App Trick : How to Hide a Ribbon Button when the Form is Dirty

I recently encountered a requirement on a model-driven app project to display a custom ribbon button only when the form had no unsaved changes—in other words, the button needed to be hidden whenever the form was dirty. While the solution is quite simple, I thought it would be a good…