Users Pricing

forum

home / developersection / forums / call a function on button onclick

Call a function on Button OnClick

Anonymous User 2112 28 Aug 2014

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!!


I am a content writter !


1 Answers