Html tags attributed with runat=”server” are called HtmlControls and you need to handle ServerClick event.
Markup

Code behind
protected void doIt(object sender, EventArgs e)
{TextBox1.Text = “Hellow World !!!”;}