Hi,I've made adding records by this solution: http://es.infragistics.com/community/forums/t/69109.aspxEvent RowEditing_TemplateClosing is firing every time, when I click: "Ok", "Cancel" or anywhere on grid. After that I function _RowAdding from behind code adding datata to database.I want to cancel event in all cases except button "Ok". How can I do it? I don't know how to recognise source of event.Can you tell me how to solve it?
Hi T T,
You can check if the cancel button has been clicked, and I am attaching a sample showing this.
Please let me know if it suits your needs.
Thanks for code - now it's working. But I still have one problem: when window for adding new record is open, I can't use ESC (for close it) and Enter (for submit).
Can you give me some advice?