edit and delete together

Discussion in 'ASP .Net Datagrid Control' started by Guest, Jun 19, 2005.

  1. Guest

    Guest Guest

    Hi
    I have built a page for edit and a page for delete with delete confirmation
    added in ItemDataBound event.

    But then when I combine these pages into one aspx with code-behind. The
    delete confirmation didn't show up if the user has entered into edit mode
    i.e. the edit column has changed to Update, Cancel!

    Is there somewhere I can add the confirmation back in edit mode?

    TIA

    --
    Guest, Jun 19, 2005
    #1
    1. Advertising

  2. Guest

    Guest Guest

    I fixed this. It is in Itemdatabound also, just check
    e.Item.ItemType == ListItemType.EditItem
    Cheers
    <dl> wrote in message news:e2Bm%...
    > Hi
    > I have built a page for edit and a page for delete with delete

    confirmation
    > added in ItemDataBound event.
    >
    > But then when I combine these pages into one aspx with code-behind. The
    > delete confirmation didn't show up if the user has entered into edit mode
    > i.e. the edit column has changed to Update, Cancel!
    >
    > Is there somewhere I can add the confirmation back in edit mode?
    >
    > TIA
    >
    > --
    >
    >
    >
    Guest, Jun 19, 2005
    #2
    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. Schultz
    Replies:
    3
    Views:
    559
    =?Utf-8?B?QmlsbCBCb3Jn?=
    Feb 14, 2005
  2. =?Utf-8?B?a2Vu?=
    Replies:
    1
    Views:
    10,331
    Wiktor Zychla [C# MVP]
    Jan 23, 2006
  3. HeroOfSpielburg
    Replies:
    1
    Views:
    390
    Alf P. Steinbach
    Aug 6, 2003
  4. Ather Ali Shaikh

    Q. About Show and Hide Edit and Delete Buttons

    Ather Ali Shaikh, Oct 16, 2003, in forum: ASP .Net Datagrid Control
    Replies:
    0
    Views:
    134
    Ather Ali Shaikh
    Oct 16, 2003
  5. Krithika San
    Replies:
    3
    Views:
    334
    Marnen Laibow-Koser
    Nov 14, 2009
Loading...

Share This Page