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
user123.ax1086user123.ax1086 

How to use apex:pageInclude in PopUp

Hi,

 

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

 

http://www.salesforcegeneral.com/salesforce-modal-dialog-box/

 

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

 

 

 

 

 

 

 

kritinkritin

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

 

            </apex:outputPanel>

<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"/>

navneetnavneet

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

 

your page will open in to popup .