Hi Santhoshreddy, Please refer the below code Functionality with a standard controller.
Apex Class:
public without sharing class AccountController {
public Account account{get; set;}
public AccountController(){
account = new Account();
}
public void save(){
upsert account;
}
}
Please refer the below code Functionality with a standard controller.
Apex Class: VisualForce Page:
Hope it will be helpful.
Best Regards
Rahul Kumar
Hi santhoshreddy,
you can create a method to override the standard buttons:-
Here is the sample code:-
Hope it will help.
Regards,
Javwad Azeem