Working with GridView
Control Events
The GridView
control includes a rich set of events that you can handle to customize the control’s behavior and appearance. These events can be divided into three groups.
First, the GridView
control supports the following set of events raised when the control displays its rows:
• DataBinding
—
Raised immediately before GridView
is bound to its data source.
• DataBound
—
Raised immediately after GridView
is bound to its data source.
• RowCreated
—
Raised when each row in GridView
is created.
• RowDataBound
—
Raised when each row in GridView
is bound to data.
Second, the GridView
control includes the following set of events raised when you edit records:
• RowCommand
—
Raised when an event is raised by a control ...
Get ASP.NET 4 Unleashed now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.