You need to sign in to do that
Don't have an account?
Lakshmi S
How to hiding the Save and Cancel buttons in Custom detailed visualforce page?
Hi Team,
I have created visualforce page for detailed record without using the apex:detail attribute.
How to hide the Save and Cancel button before inline edit.
<apex:pageBlockButtons >
<apex:commandButton value="Save" action="{!Save}" id="saveButton" />
<!-- <apex:commandButton value="Save & New" action="{!saveNew}"/> -->
<apex:commandButton value="Edit" action="{!Edit}" id="editButton" />
<apex:commandButton value="Delete" action="{!Delete}" onclick="if(!confirm('Are you sure?')){return false};" id="deleteButton" />
<apex:commandButton value="Clone" action="{!doClone}" id="cloneButton" />
<apex:commandButton value="Cancel" action="{!doCancel}" id="cancelButton" immediate="true" />
</apex:pageBlockButtons>
Please let me know, how to achieve this ......
Thanks
Lakshmi.
I have created visualforce page for detailed record without using the apex:detail attribute.
How to hide the Save and Cancel button before inline edit.
<apex:pageBlockButtons >
<apex:commandButton value="Save" action="{!Save}" id="saveButton" />
<!-- <apex:commandButton value="Save & New" action="{!saveNew}"/> -->
<apex:commandButton value="Edit" action="{!Edit}" id="editButton" />
<apex:commandButton value="Delete" action="{!Delete}" onclick="if(!confirm('Are you sure?')){return false};" id="deleteButton" />
<apex:commandButton value="Clone" action="{!doClone}" id="cloneButton" />
<apex:commandButton value="Cancel" action="{!doCancel}" id="cancelButton" immediate="true" />
</apex:pageBlockButtons>
Please let me know, how to achieve this ......
Thanks
Lakshmi.
All Answers