After looking various options I have come accross with the JavaScript which can do the job. I have converted into generic and useful function.
Step1:
Find the name of the relationship for which you want to hide the buttons. That can be retrived from the 1:N relationships of the entity as shown in the image below;
Step2:
Copy and Paste following JavaScript functions on the OnLoad event of the entity.
function HideAssociatedViewButtons(loadAreaId, buttonTitles)
{
var navElement = document.getElementById('nav_' + loadAreaId);
if (navElement != null)
{
navElement.onclick = function LoadAreaOverride()
{
// Call the original CRM method to launch the navigation link and create area iFrame
loadArea(loadAreaId);
HideViewButtons(document.getElementById(loadAreaId + 'Frame'), buttonTitles);
}
}
}
function HideViewButtons(Iframe, buttonTitles)
{
if (Iframe != null )
{
Iframe.onreadystatechange = function HideTitledButtons()
{
if (Iframe.readyState == 'complete')
{
var iFrame = frames[window.event.srcElement.id];
var liElements = iFrame.document.getElementsByTagName('li');
for (var j = 0; j < buttonTitles.length; j++)
{
for (var i = 0; i < liElements.length; i++)
{
if (liElements[i].getAttribute('title') == buttonTitles[j])
{
liElements[i].style.display = 'none';
break;
}
}
}
}
}
}
}
[Note: for external javascript file above function can be added into common function libaray file and can be used throughout the system.]
Step3: Function Call:
Use HideAssociatedViewButtons function for each relation to hide the buttons;
HideAssociatedViewButtons('account_contacts', ['Add a new Contact to this record','Add existing Contact to this record']); //To hide both buttons.
HideAssociatedViewButtons('account_contacts', ['Add a new Contact to this record']); //To hide New button.
HideAssociatedViewButtons('account_contacts', ['Add existing Contact to this record']); //To hide Existing Button.
Hope this help. If you like this post please do comment. If you have any questions feel free to email me on irfan@irfansaeed.net or send them in comments.
Please Note: Above code is not supported by Microsoft


