You need to sign in to do that
Don't have an account?

Redirecting control to the same visual force page after uploading a file
Hi,
After uploading a file using apex:inputFile tag of visualForce page i'm redirected to My Personal Documents.
But I want to redirect my control to the same visualforce page along with the message file uploded successfully
Thanks,
Sagar
Hi,
You can use the PagrReference Class ..
You can use javascript code for passing parameter while redirecting. ..
Important :
Hit Kudos if this provides you with useful information and if this is what you where looking for then please mark it as a solution for other benefits.
Thank You
Hi S Pawar ,
You can also prevent to redirect your page by setting the reRender attribute to "none" in your action function that will also prevent to redirect your page on Document page.
If this post helps you then hit kudus by clicking on star and accept my post as a solution to your question.