Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
130
How to prevent postback in RowEditing_TemplateClosing
posted

Hi,

I've made adding records by this solution: http://www.infragistics.com/community/forums/t/69109.aspx

Event 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?