How to Enable/Disable Buttons

Apr 29, 2012 at 10:51 PM

Hi,

Following this link

http://markeev.com/sharepoint/ribbon/?topic=html/ribbonControl.htm

I have created a user control and used that in web part (I did using visual web part). Tab is there but buttons are disabled. How do I get them enabled. I did using the same code as in the documentation. I tries with CommandEnableJavaScript = 'return true;' but still no effect. What I am making mistake?

 

Regards,

JAMIL

Apr 30, 2012 at 12:31 AM

I got it working.

Actually, we don't need to mentiond "return" statement in command, becuast its already doing by the library.

Regards,

JAMIL