forum

Home / DeveloperSection / Forums / Call a function on Button OnClick

Call a function on Button OnClick

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

Can you answer this question?


Answer

1 Answers

Liked By