How to show lookup field in apex:outputfield in Salesforce?
Sample Code: Visualforce page: <apex:page controller="Sample" sidebar="false" ><style type="text/css"> .hideButton{display:none;}</style><apex:form > <apex:pageblock title="Contact Detail" mode="inlineEdit"> <apex:pageblockSection columns="4" > <apex:pageblockSectionItem > Contact First Name: </apex:pageblockSectionItem> <apex:pageblockSectionItem > <apex:outputField value="{!contactDetail.FirstName}"> ....