asp.net.ph

ButtonColumn Class

System.Web.UI.WebControls Namespace


Renders a column that contains a set of button controls for each row in a DataGrid.

ButtonColumn Class Members

Collapse   Constructors

Visibility Constructor Parameters
public ButtonColumn ( )

Collapse   Properties

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 ]

Collapse   Methods

Visibility Name Parameters Return Type
protected FormatDataTextValue ( Object dataTextValue ) String
public Initialize ( ) Void
public InitializeCell ( TableCell cell , Int32 columnIndex , ListItemType itemType ) Void

Remarks

Use this column to send commands from within a row of the column to an event handler in the DataGrid.

Example

The following example demonstrates using a ButtonColumn in a DataGrid to create a simple shopping cart.

 Show me 

See Also

DataGrid   BoundColumn   EditCommandColumn   HyperLinkColumn   TemplateColumn Skip Navigation Links




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 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 asp.net.ph