Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Datalist and DeleteCommand

Status
Not open for further replies.

Patbeau

Programmer
Apr 7, 2003
32
0
0
CA
Hi,

I use a DataList in an Asp page. When I do my action for Delete, it works fine. My problem is when I press the key "F5" or "Refresh" in my browser, another record is deleted (the one at the same position/index).

Is there a way to reset the delete command after it is done once? I thought the EditItemIndex = -1 doest that, but it seems not.

thank you,
patrice
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top