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

  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. 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. Alex
    Replies:
    2
    Views:
    694
  2. =?Utf-8?B?UW5hdnJ5?=

    one page to edit, delete, and add data to a database

    =?Utf-8?B?UW5hdnJ5?=, Nov 3, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    416
    Tod Birdsall
    Nov 3, 2004
  3. Schultz
    Replies:
    3
    Views:
    747
    =?Utf-8?B?QmlsbCBCb3Jn?=
    Feb 14, 2005
  4. =?Utf-8?B?TU4gSmF5YXNhbmthcg==?=

    Add, Edit and Delete in VWD2005

    =?Utf-8?B?TU4gSmF5YXNhbmthcg==?=, Feb 20, 2005, in forum: ASP .Net
    Replies:
    0
    Views:
    360
    =?Utf-8?B?TU4gSmF5YXNhbmthcg==?=
    Feb 20, 2005
  5. =?Utf-8?B?a2Vu?=
    Replies:
    1
    Views:
    10,644
    Wiktor Zychla [C# MVP]
    Jan 23, 2006
  6. HeroOfSpielburg
    Replies:
    1
    Views:
    547
    Alf P. Steinbach
    Aug 6, 2003
  7. 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:
    218
    Ather Ali Shaikh
    Oct 16, 2003
  8. Krithika San
    Replies:
    3
    Views:
    561
    Marnen Laibow-Koser
    Nov 14, 2009
Loading...