edit data grid

M

mahsa

Hi I have a Datalist that can Update each row my problem is i have a edit update and remove link in datalist when user click edit it show update and cancel button but when they click update button it again show update and cancle I want it to show edit button and dont show update and cancel do you have any idea?
 
S

Scott M.

At the end of the Update and Cancel code, set the DataList's EditItemIndex
to -1.


mahsa said:
Hi I have a Datalist that can Update each row my problem is i have a edit
update and remove link in datalist when user click edit it show update and
cancel button but when they click update button it again show update and
cancle I want it to show edit button and dont show update and cancel do you
have any idea?
 

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,744
Messages
2,569,483
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top