+ Start a Discussion
rebvijkumrebvijkum 

how can i show the page in the same frame when i click on iframe.

i have a <apex:iframe> which opens a visualforce page with hyperlinks. when i click on hyperlink the page has to open within iframe no matter the target for hyperlinks are differentUser-added image
sunny.sfdcsunny.sfdc
You can use <apex:outputLink> with target attribute set to '_parent'  while creating links.

<apex:outputLink value="<VISUALFORCE_PAGE_URL>" target="_parent">VISUALFORCE PAGE NAME</apex:outputLink>