DataGrid with edit,insert & delete but with no ViewState !?

Discussion in 'ASP .Net Datagrid Control' started by Tomo Tomo, Nov 7, 2003.

  1. Tomo Tomo

    Tomo Tomo Guest

    is this possible and how?
     
    Tomo Tomo, Nov 7, 2003
    #1
    1. Advertisements

  2. Tomo Tomo

    Jos Guest

    Tomo Tomo wrote:
    > is this possible and how?


    Yes. You can turn off viewstate on the datagrid, but you will
    need a way to keep the state of the EditItemIndex property
    (and also page/sort info if you use paging/sorting).
    You could do this by creating your own property with ViewState,
    or you could add a hidden field.

    --

    Jos
     
    Jos, Nov 8, 2003
    #2
    1. Advertisements

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. Schultz
    Replies:
    3
    Views:
    773
    =?Utf-8?B?QmlsbCBCb3Jn?=
    Feb 14, 2005
  2. =?Utf-8?B?a2Vu?=
    Replies:
    1
    Views:
    10,681
    Wiktor Zychla [C# MVP]
    Jan 23, 2006
  3. Oded Dror
    Replies:
    1
    Views:
    614
    Jared
    Feb 26, 2007
  4. X X
    Replies:
    4
    Views:
    569
    red floyd
    Jul 19, 2010
  5. Dmitry Korolyov

    Datagrid not updated during delete, but updated during insert and update

    Dmitry Korolyov, Sep 22, 2003, in forum: ASP .Net Datagrid Control
    Replies:
    0
    Views:
    611
    Dmitry Korolyov
    Sep 22, 2003
  6. Andreas Klemt
    Replies:
    0
    Views:
    506
    Andreas Klemt
    Oct 8, 2003
  7. jobs at webdos
    Replies:
    0
    Views:
    799
    jobs at webdos
    Oct 9, 2006
  8. Replies:
    0
    Views:
    438
Loading...