ObjectDataSource and nested GridViews

Discussion in 'ASP .Net Web Controls' started by Uri Goldstein, May 21, 2006.

  1. Hello,

    I have several GridViews nested in a GridView (one per row).

    The "parent" GridView is populated by a "parent" ObjectDataSource and
    each of the "child" GridViews is populated by single, shared "child"
    ObjectDataSource.

    What drives me crazy is that when I delete a record in one of the
    nested, "child" GridViews, all of a sudden the Selecting event of the
    "child" ObjectDataSource is triggered multiple times - once for each
    "child" GridView visible on the page.

    What causes this event? Can I reach the respective "child" GridView for
    which the event is triggered from whithin the event?

    Any help would be greatly appreciated.

    Uri.
    Uri Goldstein, May 21, 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:
    0
    Views:
    4,759
  2. Roy
    Replies:
    1
    Views:
    3,802
  3. Chris

    Nested Gridviews

    Chris, Apr 1, 2007, in forum: ASP .Net
    Replies:
    1
    Views:
    428
    Chris
    Apr 1, 2007
  4. Mr Nobody

    Nested GridViews In UserControls.

    Mr Nobody, Jul 25, 2008, in forum: ASP .Net
    Replies:
    2
    Views:
    307
    Lucas Hernandez
    Jul 25, 2008
  5. katmagic

    Gridviews and Nested Gridview

    katmagic, Jan 17, 2009, in forum: ASP .Net
    Replies:
    0
    Views:
    308
    katmagic
    Jan 17, 2009
Loading...

Share This Page