Click here to Skip to main content
15,885,216 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
On click of a button from aspx page,how it identifies which method to call on the sever.
Posted
Comments
[no name] 23-Sep-14 9:58am    
Because you told it which method to call on the server?
Vivek S Kale 24-Sep-14 0:20am    
my question is i click on button on page eg. save button...how it calls the save method or how server come to know that save button is clicked.

1 solution

The OnClick event is called of the button.

See http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.button.onclick(v=vs.110).aspx
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900