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" />
Larry Jones
Hydrel/Lithonia Lighting
-----Original Message-----
From: Gonzalo Paniagua Javier [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 28, 2003 5:12 PM
To: '[EMAIL PROTECTED]'
Subject: RE: [Mono-list] DataGridSortCommandEventArgs
El jue, 29 de 05 de 2003 a las 01:40, Jones, Larry escribi�:
> Sorry the subject said it right. Its DataGridSortCommandEventsArg that
> appears to be missing.
> I get this error from an .aspx page:
>
> Error message: /tmp/tmpfc7e4b0.cs(109,0) : error CS0123: Method 'void
> ASP.Listing11_19_aspx.dgrdTitles_SortCommand (object,
> System.Web.UI.WebControls.DataGridSortCommandEventArgs)' does not match
> delegate 'void System.Web.UI.WebControls.DataGridCommandEventHandler
> (object, System.Web.UI.WebControls.DataGridCommandEventArgs)'
That error does not mean that the class is missing.
Can you send the error line (it should be an addition to an event) and
the signature of the method that you are trying to add as an event
handler?
-Gonzalo
_______________________________________________
Mono-list maillist - [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list
_______________________________________________
Mono-list maillist - [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list