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
srinadhsrinadh 

How to redirect to parent Page after saving the child in visual force custom controller???

Work Performed is Child Object.

Case is Parent Object.

After Saving the Work Performed (Related List) in Case Detail Page. How to redirect the Case3. Page???

 

 

neao18neao18

you can pass the parent name in the url and catch it in child page then assign it to pagereference and get back to parent page:

Use pagereference of apex

SowjanyaSowjanya

 

Add below to the URL 

"&retURL=%2F{!ParentId}"