How to create a Button Click event from any random button from a Page


This code is from view page :

This is the button click event. The following button is for clear button.




The 1st Parameter in the method defines the Button Value

The 2nd Parameter in the method defines the Controller method

The 3rd Parameter in the method defines the Controller name

 

Comments