[thelist] web matrix: sort expression?

Casey aspnet at thecrookstons.com
Tue Aug 9 20:04:43 CDT 2005


I'm using web matrix for the first time to create an asp.net application.
Pretty cool little tool.  When creating a datagrid, you have the option of
setting AllowSorting to true, which allows users to sort by any column.
However, once AutoGenerateFields is set to false, this feature goes away.

I'm trying to figure out how to turn it back on for individual columns.  I
have a hunch it has to do with the SortExpression when adding a BoundField,
but beyond that I'm coming up empty.

TIA!



More information about the thelist mailing list