| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
ButtonColumn ClassSystem.Web.UI.WebControls Namespace Renders a column that contains a set of button controls for each row in a DataGrid.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Visibility | Name | Value Type | Accessibility |
|---|---|---|---|
| public | ButtonType | ButtonColumnType | [ Get , Set ] |
| public | CausesValidation | Boolean | [ Get , Set ] |
| public | CommandName | String | [ Get , Set ] |
| public | DataTextField | String | [ Get , Set ] |
| public | DataTextFormatString | String | [ Get , Set ] |
| public | Text | String | [ Get , Set ] |
| public | ValidationGroup | String | [ Get , Set ] |
| Visibility | Name | Parameters | Return Type |
|---|---|---|---|
| protected | FormatDataTextValue | ( Object dataTextValue ) | String |
| public | Initialize | ( ) | Void |
| public | InitializeCell | ( TableCell cell , Int32 columnIndex , ListItemType itemType ) | Void |
Use this column to send commands from within a row of the column to an event handler in the DataGrid.
The following example demonstrates using a ButtonColumn in a DataGrid to create a simple shopping cart.
DataGrid BoundColumn EditCommandColumn HyperLinkColumn TemplateColumn
Check out related books at Amazon
© 2000-2008 Rey Nuñez All rights reserved.
If you have any question, comment or suggestion
about this site, please send us a note
You can help support aspxtreme