[thelist] web matrix: sort expression?

Peter Brunone (EasyListBox.com) peter at easylistbox.com
Tue Aug 9 22:31:46 CDT 2005


	Each BoundColumn object has a SortExpression property (string).

http://www.aisto.com/roeder/dotnet

	Reflector is your friend.  Use it.  Talk to it.  Keep it under
your pillow.

	Just don't feed it after midnight.

-----Original Message-----
From: thelist-bounces at lists.evolt.org On Behalf Of Casey

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