ASP.NET Panel DefaultButton Property
Panel control
Definition and Usage
The DefaultButton property is used to set or return the ID of the default button of the Panel control.
Use the DefaultButton property to indicate which button is clicked when the Panel control has focus and the user presses the Enter key.
Syntax
Some Content
| property | Description |
|---|---|
| button_id | The ID of the button to use as the default button. |
Example
The following example sets the DefaultButton of a Panel control:
Demo Example »
Panel control