Hi
you mean this ????
private void Button1_Click(object sender, System.EventArgs e)
{
Response.Write("<br> <br> Hello <br>");
}
This is in C# i hope it's fine for you
Be sure you are using a WEB SERVER CONTROL
and not an HTML push button.
"Alex B" <no*********@sparmerio.com> wrote in message
news:ea**************@TK2MSFTNGP10.phx.gbl...
A simple web button question:
How do you make it so that a web button's click event is triggered when
someone hits <enter> on a web form?
i.e. the page has three input boxes on it and a web button. When enter is
pressed, a postback occurs, but no events are triggered.