You need to sign in to do that
Don't have an account?
Phantom
Unable to redirect to another page ?????
I have VF page export to CSV or excel file (set content type), i expect after exporting CSV file or excel file, this will redirect to another VF page. But it do not work. So, anyone help me this, pls!
It my redirect code:
return new Pagereference('/apex/newPage');
try this.....
PageReference pr = new PageReference('/apex/newPage');
pr.setRedirect(true);
return pr;