1

Some custom actions in SharePoint display an additional message with possible reason of the action being disabled. Is there a simple way of adding such a message only when the action is disabled (for example a specific CAML property) or can it be achieved only using JavaScript/jQuery?

Example

1 Answer 1

1

You can use ToolTipTitle and  ToolTipDescription of the Button element in custom action.

3
  • But aren't tooltips displayed always when the action is pointed on, no matter whether it's disabled or enabled?
    – Szab
    Apr 15, 2015 at 22:20
  • Yes. You can check that by hovering mouse over disabled ribbon buttons. Apr 15, 2015 at 22:21
  • Yeah, and what I wanted to achieve is to display the hint ONLY when the action is disabled.
    – Szab
    Apr 16, 2015 at 11:43

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.