function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

How to use apex:pageInclude in PopUp



I am able to get PopUp using apex coding as explained in the below link.


But page include is not working.i.e the page which is included in the PopUp using <apex:pageInclude>. Can any one please guide how to include page in the PopUp









In the following Output Pannel section you need to include the  <apex:pageInclude> section.



<apex:outputPanel styleClass="custPopup" layout="block" rendered="{!displayPopUp}">
                This is where I would put whatever information I needed to show to my end user.<br/><br/><br/>
                <apex:commandButton value="Hide Pop up" action="{!closePopup}" rerender="tstpopup"/>


insted of <apex:pageInclude> use java script. on click of button call ('/apex/page Name')


your page will open in to popup .