asp.net.ph

DataGridPageChangedEventArgs.CommandSource Property

System.Web.UI.WebControls Namespace   DataGridPageChangedEventArgs Class


Returns the source of the command.

Syntax


Script [ Object variable = ] DataGridPageChangedEventArgs.CommandSource

Property Value


variable The source of the command.

The property is read only with no default value.

Remarks

Use the CommandSource property to determine the command source that raised the PageIndexChanged event. Because this event is only raised when a link is clicked in the page selection element of a DataGrid control, the returned source is a DataGridItem that represents the page selection element.

See Also

DataGridPageChangedEventArgsMembers   DataGrid.AllowSorting Skip Navigation Links




Previous page Back to top Next page

Check out related books at Amazon

© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note