Edit mode in datagrid gone haywire

Discussion in 'ASP .Net' started by =?Utf-8?B?Q2hhcmxlc0E=?=, Mar 28, 2006.

  1. I've got this column to the left of my datagrid

    <asp:EditCommandColumn ButtonType="LinkButton" UpdateText="Update"
    HeaderText="Edit" CancelText="Cancel" EditText="Edit"></asp:EditCommandColumn>

    and an ItemCommand event with switch (e.commandname) logic

    and even individual events for each command type (update, cancel etc..)


    the trouble is that my Cancel hyperlink cancels the grid without tripping
    off any events (no breakpoint is ever alighted on)

    and more troublingly my Update hyperlink calls has a commandname of "Edit"
    and even calls the Edit_command event stub!

    how is this even possible?

    Regards and thanks in advance - any help pointing me in the right direction
    would be greatly appreciated...

    CharlesA
    =?Utf-8?B?Q2hhcmxlc0E=?=, Mar 28, 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. David

    VS.NET going haywire

    David, Oct 28, 2004, in forum: ASP .Net
    Replies:
    0
    Views:
    316
    David
    Oct 28, 2004
  2. Schultz
    Replies:
    3
    Views:
    555
    =?Utf-8?B?QmlsbCBCb3Jn?=
    Feb 14, 2005
  3. Frank Kurka
    Replies:
    8
    Views:
    304
  4. Jaime Stuardo

    GridView control enters edit mode when I click Edit link twice

    Jaime Stuardo, Apr 7, 2006, in forum: ASP .Net Web Controls
    Replies:
    0
    Views:
    390
    Jaime Stuardo
    Apr 7, 2006
  5. jwcarlton

    LWP::Simple went haywire this morning

    jwcarlton, Mar 3, 2011, in forum: Perl Misc
    Replies:
    4
    Views:
    116
    jwcarlton
    Mar 4, 2011
Loading...

Share This Page