Skip to main content
1 of 3
Ratan Paul
  • 22.8k
  • 14
  • 55
  • 99

update your save method return type to Pagereference

public pagereference save() {
   //codes here

  return new pagereference('/'+objcontact.id);

}
Ratan Paul
  • 22.8k
  • 14
  • 55
  • 99