asp.net.ph

GridViewCancelEditEventArgs Class

System.Web.UI.WebControls Namespace


.NET Framework version 2.0

Provides data for the RowCancelingEdit event of a GridView control.

GridViewCancelEditEventArgs Class Members

Collapse   Constructors

Visibility Constructor Parameters
public GridViewCancelEditEventArgs ( Int32 rowIndex )

Collapse   Properties

Visibility Name Value Type Accessibility
public RowIndex Int32 [ Get ]

Remarks

The RowCancelingEdit event is raised whenever a Cancel button associated with a row in edit mode in the GridView control is clicked, but before the GridView exits edit mode.

This allows you to provide an event-handling method that performs a custom routine, such as stopping the cancel operation if it would put the row in an undesired state, whenever this event occurs.

For a list of initial property values for an instance of GridViewCancelEditEventArgs, see the GridViewCancelEditEventArgs constructor.

For more information about handling events, see Web Forms Events Model.

See Also

GridView   GridViewCancelEditEventHandler 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