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. Advertisements

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:
    365
    David
    Oct 28, 2004
  2. Schultz
    Replies:
    3
    Views:
    747
    =?Utf-8?B?QmlsbCBCb3Jn?=
    Feb 14, 2005
  3. John J Lee
    Replies:
    3
    Views:
    768
    bruno at modulix
    Dec 1, 2005
  4. Edward Loper

    mmm-mode, python-mode and doctest-mode?

    Edward Loper, Aug 9, 2007, in forum: Python
    Replies:
    0
    Views:
    629
    Edward Loper
    Aug 9, 2007
  5. Frank Kurka
    Replies:
    8
    Views:
    601
  6. 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:
    640
    Jaime Stuardo
    Apr 7, 2006
  7. jobs at webdos
    Replies:
    0
    Views:
    772
    jobs at webdos
    Oct 9, 2006
  8. jwcarlton

    LWP::Simple went haywire this morning

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