Disable viewstate

Discussion in 'ASP .Net Datagrid Control' started by David, May 27, 2004.

  1. David

    David Guest

    I set grid's EnableViewState to false, when do paging, datasource is retrieved from server and grid is databinded. However no data shows in the grid for next pages.
    David, May 27, 2004
    #1
    1. Advertising

  2. Paging details are stored in viewstate, if you disable viewstate in
    datagrid. Then paging wont work.

    Check out this article, this might help you.
    http://www.extremeexperts.com/Net/Articles/ViewState.aspx


    --
    Saravana
    Microsoft MVP - ASP.NET
    www.extremeexperts.com



    "David" <> wrote in message
    news:...
    > I set grid's EnableViewState to false, when do paging, datasource is

    retrieved from server and grid is databinded. However no data shows in the
    grid for next pages.
    Saravana [MVP], Jun 4, 2004
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Homa
    Replies:
    2
    Views:
    1,917
  2. Rhodri
    Replies:
    1
    Views:
    382
    Rick Spiewak
    Apr 22, 2004
  3. Stan
    Replies:
    3
    Views:
    10,350
  4. Julien Grossiord

    Disable ViewState

    Julien Grossiord, Nov 23, 2005, in forum: ASP .Net
    Replies:
    2
    Views:
    7,817
    emancero
    Nov 12, 2006
  5. Umut Tezduyar
    Replies:
    4
    Views:
    3,326
    Ravi Ambros Wallau
    Feb 15, 2006
Loading...

Share This Page