Wednesday, August 29, 2012

Hiding the Ribbon In Share point Item Dialog Box

Hiding the Ribbon In Share point Item Dialog Box Using CSS:

Adding the following CSS styles in  DispForm/NewForm/EditForm.aspx  file of the item:


<style type="text/css">


.s4-ribbonrowhidetitle 
{
display: none;
        }
</style>

Steps:
1) open the list in share point designer
2) open the DispForm/NewForm/EditForm.aspx in 'Edit In Advanced Mode'
3)Add the Above css style under
<SharePoint:UIVersionedContent UIVersion="4" runat="server">
<ContentTemplate>
4) Save it and check in browser.

No comments:

Post a Comment