|
To display a push button,the Button control is used. The
push button may be a a command button or submit button. By
default, this control is the submit button.
A submit button does
not have a command name and it posts the page back to the server
when it is clicked and it is possible to write an event handler to
control the actions performed when the submit button is clicked.
A command button allows you to create multiple Button controls on a page and has a command name.
When the command button is clicked,it is possible to write an event handler to control the actions performed.
The Button control's attributes and properties are listed in
our
web controls reference page.
The example below demonstrates a simple Button control:
|