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
shabuthomasshabuthomas 

Button Click Event not triggered

I have a visual force page which is having a controller extension.
Edit button of the corresponding object has been overrided in order to display this page on editing.
I've added a button to insert some records in to some other object.
When clicking this button, the corresponding action method in the controller is not called !.
 
Would you please tell me the reason ?
 
Rgds
Shabu
andresperezandresperez

Hi,

I was having a similar problem myself. I discovered that you must use AJAX to get this working.

You MUST specify the rerender="abc" option for the <apex: commandButton> and then you need a section of you document to have the same ID ("abc").