edit and delete together

G

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

--
 
G

Guest

I fixed this. It is in Itemdatabound also, just check
e.Item.ItemType == ListItemType.EditItem
Cheers
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,014
Latest member
BiancaFix3

Latest Threads

Top