Multiple delete with Datagrid in .NET 1.1... help please

Discussion in 'ASP .Net' started by =?Utf-8?B?Q2FsdmluIEtE?=, Jun 26, 2006.

  1. Hi everyone,
    I'd like to enable users to select/mark multiple rows (records) in my
    datagrid for deletion. I have provided a checkbox column with a checkbox in
    the header for "Select All" option. The select actions are done on clientside
    (javascript).
    My datagrid allows for custom paging. I found out before that paging fails
    whenever i click on the "..." after the numeric page numbers to go to the
    "hidden' pages while I have the grid's EnableViewState=True property set. I
    had to get around this, as suggested by someone on this forum is to keep the
    grid's EnableViewState=True but disable the viewstate at the Row level (in
    ItemDataBound event). That worked fine but now i face another brick wall, as
    a result, is that because the grid's view state has been set to "off" at the
    rows level, no data is retained at postback so when it comes to find out
    which row has been selected/marked for deletion and obtain its corresponding
    ID (value stored in a hidden column), it isn't there!

    Has anyone came across this sort of scenario and possibly a solution?
    Any suggestion is greatly appreciated as always.

    Calvin
    =?Utf-8?B?Q2FsdmluIEtE?=, Jun 26, 2006
    #1
    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. Replies:
    4
    Views:
    503
    Chris Uppal
    May 5, 2005
  2. KK
    Replies:
    2
    Views:
    546
    Big Brian
    Oct 14, 2003
  3. MuZZy
    Replies:
    7
    Views:
    1,742
    Mike Hewson
    Jan 7, 2005
  4. =?Utf-8?B?Q2FsdmluIEtE?=

    Multiple delete with Datagrid in .NET 1.1... help please

    =?Utf-8?B?Q2FsdmluIEtE?=, Jun 29, 2006, in forum: ASP .Net
    Replies:
    0
    Views:
    392
    =?Utf-8?B?Q2FsdmluIEtE?=
    Jun 29, 2006
  5. Fred Zolar
    Replies:
    0
    Views:
    221
    Fred Zolar
    Apr 1, 2004
Loading...

Share This Page