[Mono-list] DataGridSortCommandEventArgs
Gonzalo Paniagua Javier
gonzalo@ximian.com
29 May 2003 04:53:00 +0200
El jue, 29 de 05 de 2003 a las 02:14, Jones, Larry escribió:
> Here is the event handler:
>
> void dgrdTitles_SortCommand(object s, DataGridSortCommandEventArgs e)
> {
> BindDataGrid( e.SortExpression );
> }
>
> and here is where it is set up in the DataGrid:
>
> <asp:DataGrid
> ID="dgrdTitles"
> AllowSorting="True"
> PageSize="5"
> OnSortCommand="dgrdTitles_SortCommand"
> CellPadding="3"
> Runat="Server" />
Ah! Out DataGrid::SortCommand event had the wrong delegate. I've just
fixed it in CVS.
Thanks.
-Gonzalo