I can see some problems in your current code like below...
You have not written any code inside the button like
onClick="btnaccept_Click"
.
And the below code will be executed only for one server side control with an
runat="server"
public void btnaccept_Click(object sender, EventArgs e)
{
HttpContext.Current.("This from the Accept button click event");
}
, whereas your button is one client-side html control like...
<input type="button" value="Accept"></input>
That's why your event is not firing.
Two solutions can be possible
-------------------------------
1. Try adding one onclick event handler code to the html control and write that event is javaScript.
2. Add one server side button control instead of html control and define event for that.
Good luck...
Thanks...