Populer Topics

Button Control

Button control is used to submit data to the server. Button control work like a push button when we click the data is submitted to the server.

The button control support following property.

Property Description
CommndArgs

Enable us to specifies command argument that is pass to the command event.

CommandName

Enable us to specifies a command name that is pass to the command event.

OnClientClick

Enable us to specifies a client side script that executes when button is click.

PostBackUrl

Enable us to post form particular page.

EnableViewState

Enable to Get or Set a value indicating weather the server control persist it’s view state of child control its contain to the requesting client.

ToolTip

Get or Set the text display when the mouse pointer our the web server control.

CauseValidation

Get or Set a value indicating weather validation is perform when the image button is or command button is clicked.

- The button control also support following events.

Event Description
Click

This event occur when button is click.

Command

It generate when the button is click and the command name and command argument pass to the event.

Databinding

This event occurs when button control bind to the data source.