First of all let me explain why i am doing this..
my client do not want Action column (EDIT/DELETE) in related list so, i developed one visualforce and override it to original page layout..
Here is my code :
<apex:page standardController="Bundle__c">
<style type="text/css">
.actionColumn {display:none; visibility:hidden}
</style>
<apex:detail subject="{!Bundle__c.Id}" relatedList="false"/>
<apex:relatedList list="Product_Quantities__r" title="Product List"/>
</apex:page>
Now, I created one CUSTOM LIST BUTTON in my custom object (Product_Quantities__c) because once user going to click on Save button then it will auto redirect to the parent record (Bundle__c)
Code of CUSTOM LIST BUTTON :
window.location="/a0c/e?CF00N21000000jtT8={!Bundle__c.Name}&CF00N21000000jtT8_lkid={!Bundle__c.Id}&retURL={!Bundle__c.Id}&saveURL=%2F{!Bundle__c.Id}"
How to return with original visualforce page which is shown below :
/apex/BundlePageLayout?id={Bundle__c.Id}
Can anyone look into this issue and tell me what mistake or what anything else need in this ?