press cancel twice to get out of edit mode

Discussion in 'ASP .Net Datagrid Control' started by sklett, Jan 16, 2004.

  1. sklett

    sklett Guest

    Hi-

    I just added edit capabilities to my DataGrid. It was working fine, then I
    started to add a delete button. I did some other stuff, but I just noticed
    that I have to press the cancel button twice to get out of edit mode, then,
    when it does leave... the databound data is gone.

    Earlier I was getting ViewState errors about the tree being different. What
    can cause this kind of behavior? Where should I look to find the possible
    problem?


    Thanks, I hope someone can help.
    Steve
    sklett, Jan 16, 2004
    #1
    1. Advertising

  2. sklett

    sklett Guest

    I just checed, the event for the cancel button is firing each time I press
    it.


    "sklett" <> wrote in message
    news:...
    > Hi-
    >
    > I just added edit capabilities to my DataGrid. It was working fine, then

    I
    > started to add a delete button. I did some other stuff, but I just

    noticed
    > that I have to press the cancel button twice to get out of edit mode,

    then,
    > when it does leave... the databound data is gone.
    >
    > Earlier I was getting ViewState errors about the tree being different.

    What
    > can cause this kind of behavior? Where should I look to find the possible
    > problem?
    >
    >
    > Thanks, I hope someone can help.
    > Steve
    >
    >
    sklett, Jan 16, 2004
    #2
    1. Advertising

  3. sklett

    sklett Guest

    Re: SOLVED

    nevermimd, fixed it. It was my fault :(


    "sklett" <> wrote in message
    news:...
    > Hi-
    >
    > I just added edit capabilities to my DataGrid. It was working fine, then

    I
    > started to add a delete button. I did some other stuff, but I just

    noticed
    > that I have to press the cancel button twice to get out of edit mode,

    then,
    > when it does leave... the databound data is gone.
    >
    > Earlier I was getting ViewState errors about the tree being different.

    What
    > can cause this kind of behavior? Where should I look to find the possible
    > problem?
    >
    >
    > Thanks, I hope someone can help.
    > Steve
    >
    >
    sklett, Jan 16, 2004
    #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. Michael England
    Replies:
    0
    Views:
    608
    Michael England
    Nov 26, 2003
  2. =?Utf-8?B?TmlnZWwgUml2ZXR0?=

    Permission failure on save/cancel button press

    =?Utf-8?B?TmlnZWwgUml2ZXR0?=, Jun 17, 2004, in forum: ASP .Net
    Replies:
    0
    Views:
    349
    =?Utf-8?B?TmlnZWwgUml2ZXR0?=
    Jun 17, 2004
  3. John Dalberg
    Replies:
    0
    Views:
    381
    John Dalberg
    Dec 20, 2005
  4. gnewsgroup
    Replies:
    0
    Views:
    496
    gnewsgroup
    Dec 27, 2007
  5. 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:
    394
    Jaime Stuardo
    Apr 7, 2006
Loading...

Share This Page