GridView RowEditing issue

Discussion in 'ASP .Net' started by DavidC, Mar 31, 2010.

  1. DavidC

    DavidC Guest

    I have a GridView inside the edit template of a ListView. I am populating
    the GridView with code from a class (see below). When I click the Edit
    button it throws the error "The GridView 'gvPayDeductions' fired event
    RowEditing which wasn't handled." How do I handle editing when not using a
    SqlDataSource control? Thanks.

    Dim intCheckID As Int32 = Convert.ToInt32(rowView("CheckID"))
    Dim gv As GridView = CType(e.Item.FindControl("gvPayDeductions"),
    GridView)
    gv.DataSource = PayrollClass.GetDeductionsOnePayCheck(intCheckID)
    gv.DataBind()


    --
    David
    DavidC, Mar 31, 2010
    #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. =?Utf-8?B?V2lsbCBXaW5u?=

    Gridview RowEditing event problem

    =?Utf-8?B?V2lsbCBXaW5u?=, Apr 25, 2006, in forum: ASP .Net
    Replies:
    2
    Views:
    19,363
    =?Utf-8?B?V2lsbCBXaW5u?=
    Apr 25, 2006
  2. Radu
    Replies:
    0
    Views:
    295
  3. egsdar
    Replies:
    0
    Views:
    3,092
    egsdar
    Nov 4, 2008
  4. Shafia

    RowEditing event in GridView

    Shafia, Apr 19, 2005, in forum: ASP .Net Building Controls
    Replies:
    0
    Views:
    189
    Shafia
    Apr 19, 2005
  5. dev648237923

    GridView RowEditing Requery question

    dev648237923, Feb 28, 2007, in forum: ASP .Net Datagrid Control
    Replies:
    5
    Views:
    1,014
    Steven Cheng[MSFT]
    Mar 5, 2007
Loading...

Share This Page