Hello all,
Today i will tell you one small , but very intersting thing regarding the ribbon control..
In this post, i have told u how to hide a ribbon button for a specific library with ease.Now, The same thing but in a different requirement..
U r asked to hide "Upload Multiple Documents" tab which is a dropdown of "Upload Document" tab.
My previous post was about hiding a entire button, not a dropdown option in it :P
No need to panic.. just copy the below lines and paste it in your Content Editor WebPart(refer this for help).
<style type="text/css">
#Ribbon\.Documents\.New\.AddDocument\.Menu\.Upload\.UploadMultiple-Menu32
{
display:none !important;
}
</style>
Now u can see, the dropdown option is gone... :D
Cooooooooool:D
Today i will tell you one small , but very intersting thing regarding the ribbon control..
In this post, i have told u how to hide a ribbon button for a specific library with ease.Now, The same thing but in a different requirement..
U r asked to hide "Upload Multiple Documents" tab which is a dropdown of "Upload Document" tab.
My previous post was about hiding a entire button, not a dropdown option in it :P
No need to panic.. just copy the below lines and paste it in your Content Editor WebPart(refer this for help).
<style type="text/css">
#Ribbon\.Documents\.New\.AddDocument\.Menu\.Upload\.UploadMultiple-Menu32
{
display:none !important;
}
</style>
Now u can see, the dropdown option is gone... :D
Cooooooooool:D
No comments:
Post a Comment