DataGrid1 UpdateCommand calling DataGrid2 UpdateCommand

Discussion in 'ASP .Net Web Controls' started by srathin, Apr 9, 2005.

  1. srathin

    srathin Guest

    When the UpdateCommand gets called on a DataGrid(1) i need to call the
    UpdateCommand on DataGrid(2), and when complete proceed with the reminder on
    the DataGrid(1) UpdateCommand.

    Could someone help me on how this can be done. thanks

    -Saravanan.R-
    srathin, Apr 9, 2005
    #1
    1. Advertising

  2. Hi Srathin,

    Yes, you can call the DataGrid(2) UpdateCommand from within the DataGrid(1)
    UpdateCommand event handler method. Just type it the same as any other method.

    Cheers,
    Steve Goodyear
    Vancouver, Canada
    Steve Goodyear, Apr 9, 2005
    #2
    1. Advertising

  3. srathin

    srathin Guest

    What do i pass on to the (Object Source, EventArgs e)....?, this is the part
    i'm having trouble with. thanks

    "Steve Goodyear" wrote:

    > Hi Srathin,
    >
    > Yes, you can call the DataGrid(2) UpdateCommand from within the DataGrid(1)
    > UpdateCommand event handler method. Just type it the same as any other method.
    >
    > Cheers,
    > Steve Goodyear
    > Vancouver, Canada
    srathin, Apr 11, 2005
    #3
    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. JIM.H.

    if there is data in DataGrid1

    JIM.H., Apr 25, 2005, in forum: ASP .Net
    Replies:
    1
    Views:
    357
    JIM.H.
    Apr 25, 2005
  2. Jim Mitchell

    HELP - Fill Datagrid2 from indexchanged in Datagrid1

    Jim Mitchell, Aug 17, 2003, in forum: ASP .Net Datagrid Control
    Replies:
    0
    Views:
    126
    Jim Mitchell
    Aug 17, 2003
  3. Joel Finkel

    DataGrid1.DataKeys[e.Item.ItemIndex] array index out of bounds

    Joel Finkel, Sep 4, 2003, in forum: ASP .Net Datagrid Control
    Replies:
    1
    Views:
    301
    Joel Finkel
    Sep 4, 2003
  4. David Dimmer

    Select a row from a DataGrid1 by passing a QueryString variable

    David Dimmer, Apr 20, 2004, in forum: ASP .Net Datagrid Control
    Replies:
    0
    Views:
    127
    David Dimmer
    Apr 20, 2004
  5. srathin

    DataGrid1 UpdateCommand calling DataGrid2 UpdateCommand

    srathin, Apr 9, 2005, in forum: ASP .Net Datagrid Control
    Replies:
    0
    Views:
    162
    srathin
    Apr 9, 2005
Loading...

Share This Page