"Invalid CurrentPageIndex value. It must be >= 0 and < the PageCou

  • Thread starter Thread starter Kelvin
  • Start date Start date
K

Kelvin

Hi All,

"disable view state for the datagrid." How to do that ? Please advise
!

Here is also attached my sources code
-------------------------------------------
void DetailGrid_setPage ( Object src, DataGridPageChangedEventArgs e )
{

DetailGrid.CurrentPageIndex= e.NewPageIndex;

CheckOrder (null,null );


}

........

public void CheckOrder (Object src, EventArgs e) {
 
Kelvin,

Setting EnableViewState = false of the datagrid will disable the viewstate.

Hope this helps
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top