is there a way to call a function in asp.net using c# from code behind when a button is clicked.
Button btnRemove = new Button();
btnremove.OnClientclick = Remove(ID) something like that??
I want to call a function
public void Remove(int ID)
{
}
Thank you in advance!!
Sumit Kesarwani
28-Aug-2014If you want call server method you can use OnClick