You need to sign in to do that
Don't have an account?
ncix007
About URL reload in s-control
hi everyone,
I have s-control page As
Example >>(http://aspen.salesforce.com:7921/servlet/servlet.Integration?ic=1&scontrolCaching=1&lid=00bx0000000k1Gg&eid=a00x0000000448j)
when i clicked "save" button it will save the value should redirect to this page
Example >> (http://aspen.salesforce.com:7921/a00x0000000448j)
i have written code as
window.location="http://aspen.salesforce.com:7921/a00x0000000448j";
in my s-control And happily :) page redirected to provided URL but :( it is displaying inside the frame
i.e:As shown in figure
Please how can i show it :)
I have s-control page As
Example >>(http://aspen.salesforce.com:7921/servlet/servlet.Integration?ic=1&scontrolCaching=1&lid=00bx0000000k1Gg&eid=a00x0000000448j)
when i clicked "save" button it will save the value should redirect to this page
Example >> (http://aspen.salesforce.com:7921/a00x0000000448j)
i have written code as
window.location="http://aspen.salesforce.com:7921/a00x0000000448j";
in my s-control And happily :) page redirected to provided URL but :( it is displaying inside the frame
i.e:As shown in figure
Please how can i show it :)
if (top !== window) {
top.location = window.location;
return;
}