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. Advertising

  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. 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. Schultz
    Replies:
    3
    Views:
    600
    =?Utf-8?B?QmlsbCBCb3Jn?=
    Feb 14, 2005
  2. =?Utf-8?B?a2Vu?=
    Replies:
    1
    Views:
    10,394
    Wiktor Zychla [C# MVP]
    Jan 23, 2006
  3. Oded Dror
    Replies:
    1
    Views:
    526
    Jared
    Feb 26, 2007
  4. 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:
    445
    Dmitry Korolyov
    Sep 22, 2003
  5. Replies:
    0
    Views:
    239
Loading...

Share This Page