You need to sign in to do that
Don't have an account?
Nithya S 1
target="_parent" not working in IE
Hi all,
We have an embedded VF page where in users fill out a few fields and click on the save button. In IE, the moment the save button is clicked, the window opens with just the VF page instead of showing up the entire page i.e standard and the VF page. We are using only the standard controller.
Here is the code used for the save button is -
<apex:commandLink value="Save" action="{!save}" target="_parent" styleClass="btn">
This works ok in Chrome, Firefox. But is not retaining the "parent" in IE.
Please assist.
Thanks!
We have an embedded VF page where in users fill out a few fields and click on the save button. In IE, the moment the save button is clicked, the window opens with just the VF page instead of showing up the entire page i.e standard and the VF page. We are using only the standard controller.
Here is the code used for the save button is -
<apex:commandLink value="Save" action="{!save}" target="_parent" styleClass="btn">
This works ok in Chrome, Firefox. But is not retaining the "parent" in IE.
Please assist.
Thanks!
Please do the settings for IE as recomended and then check if it helps.
https://help.salesforce.com/HTViewHelpDoc?id=getstart_browser_ie.htm&language=en_US
Thanks,
Pratik
Since the VF page isn't working on IE, I changed the commandlink to a command button using -
<apex:commandButton value="Save" action="{!save}" onclick="window.top.location='/{!<object>.id}'; return true"/>
But this behaves very erratically. The values on the record are not being saved everytime the save button is clicked. But at times, the values are being saved.Any pointers?
Thanks!