forum

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

Call a function on Button OnClick

Anonymous User 2092 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!!


c#
Updated on 28-Aug-2014

I am a content writter !


Message
Can you answer this question?

Answer

1 Answers

Liked By