470,631 Members | 1,712 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,631 developers. It's quick & easy.

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

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) {
Nov 16 '05 #1
1 1350
Kelvin,

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

Hope this helps

Nov 16 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by Eric A. Forgy | last post: by
1 post views Thread by Christian Schmidbauer | last post: by
7 posts views Thread by Diandian Zhang | last post: by
1 post views Thread by Nick Nygaard | last post: by
7 posts views Thread by Jim in Arizona | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.