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
dev2014dev2014 

stay in the visual force related list page

Is there a way to keep the user in the visual forcce sectoion record when he edits a field in the contact record  even if he is in the account  page.  so the use case iswhen a user update/edit the cotnnact record in the contact related list to the account.  The related list contact section and contact record  is a visual force page. The  account page  is  not a visual force page.
The flow is:

1.User go to the contact  visual force  related section inthe account page (not visual force)
2. go to a specific record in the  contact related list click the viual force  based save button in the the contact record
3. I want the user stay in the visual force contact recordthat he is in  after he clicks the save button on the record level instead of throwing him back to the yop ofthe accoutn page.

I would appreciate  if you can provide input into a visual force code that can impement that use scenario.

Thanks,
Deepak GulianDeepak Gulian
Share you VF page code and controller code