Hi all,
I am using Infragistics version 12.1.20121.2020 and have an issue with Webdatagrid.
That is, postback occurs automatically after a cell changed value and focused to another cell in the grid. How to remove this postback in this case? I attached the sample here. Please help me to resolve this issue.Note that this issue don't occur in version 11.1.
Thank you,
Trung
Hi Trung,
In order to avoid postback when updating a cell, you should disable activation. Even though auto-postback on ActiveCellChanged is set to false, activation behavior is causing the grid to automatically postback and save the changes made to the grid.
Let me know if you have any further questions.
Thank you for the update.
Currently, I have many codes as grid.get_behaviors().get_activation(), so I don't set Activation=false.
Have you any solutions for this issue?
You need to turn on batch updating. In 11.2, this behavior was changed. It used to batch update if you didn't handle the row updating server event. now it is tied to this property.
regards,
David Young
Hi David
Yes. We could set BatchUpdating="true" in EditingCore to prevent auto postback when a cell changed value.
But It seems that my project has more than issues if BatchUpdating="true" (Since I upgraded infragistics from 11.1 to 12.1)
What do you think if I use SqlDataSource and BatchUpdating="true"?
How can I cancel the row updating server event from javascript?
Regards,