With the Datagrid's ViewState set to false, you should have problem with
things like automatic paging. Without the source code, I cannot tell you
anything more. It is possible, for example, that you are binding your
datagrid to many times or at the wrong place.
Maybe by taking a look at the trace.axd output, you will see what's the
problem.
S. L.
"Jarod" <Ja***@discussions.microsoft.com> wrote in message
news:86**********************************@microsof t.com...
Set the EnableViewState property of the DataGrid to "True" and the
AutoEventWireup property for the page to "false" . The DataGrid needs
its
view state for firing events and the AutoEventWireup will make a second
call
to all of your events is set to True. You don't need this because you
are
already wiring them with the "this.dgMydata += ..." instruction.
I already had the autoEventWireup set to false and EnableViewState to
true,
but after your post I set Datagrid's enableViewState to false, and it
works
now. When I set ViewState again to true it stops to work. Maybe you know
why ?
Jarod