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
465
RowAdding not firing on button postback
posted

According to http://es.infragistics.com/samples/aspnet/hierarchical-data-grid/batch-updating, a save button that just does a post back is supposed to fire off the row add/update/delete server side events. However, when I do this that does not seem to happen. The events are not fired unless I press enter after editing a cell in the new row. I've attached an example site with a WHDG that illustrates the problem. Why is it that enter key press can cause a post back that will fire off the server events but pressing a save button will not? Is there some special setting that enables this?

Thanks

WHDG_crudEvents_child.zip
Parents
No Data
Reply
  • 15320
    Offline posted

    Hello bartsipes,

    Thank you for posting in our community.

    I tested your sample, however it works properly on my side. I tried to edit one cell and then press the button, and RowUpdating event fired properly. Also RowAdding and RowsDeleting events fire as expected. I didn't change anything in your sample. Could you please explain me in details how exactly are you testing these events whether they fire properly?

    Looking forward to your response.

    Sincerely,

    Tsanna

Children