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
ArjunmcaArjunmca 

creating custom buttons in page layouts

How can i create custom buttons in page, also i want to invoke controller methods on button click event.

 

Can any one show some light on this

 

 

Thanks.

asish1989asish1989

You can create custom button in pagelayout and you can't invoke controller method by clicking button.

But button can overidden with new visulforce page or you can write java script code for that button for some action to be excuted.

 

for more reference

http://www.salesforce.com/us/developer/docs/pages/Content/pages_controller_define_custom_buttons.htm

http://login.salesforce.com/help/doc/en/defining_custom_links.htm