Hi,
You need to add code to the sortcommand and pageindexchanged events
to get the grid to update itself correctly.
http://msdn.microsoft.com/library/de...angedtopic.asp http://msdn.microsoft.com/library/de...mmandtopic.asp
Ken
-------------------
"Sacha Vieux-Roy" <Sa***********@discussions.microsoft.com> wrote in message
news:7C**********************************@microsof t.com...
I create a simple web application with 1 datagrid control bound to a
customers table. I set the AllowSorting and AllowPaging properties to True.
When I view the aspx page in internet explorer and click on the sorting link
the datagrid is not sorted. When I click on the next page link I am sent to
the same page.