Using this demo as a template
http://demos.telerik.com/aspnet-ajax/grid/examples/dataediting/usercontroleditform/defaultcs.aspx
How can i click "add" and when i click on "edit" on another row it automatically close the add function. as an example when you click on edit on a row if you click onedit on another row the previous one is closed.