As a programmer who wears many hats I only get to work in the .net environment using the infragistics tools every blue moon. This is something I've known how to do once but can't figure out how to do it now. I'm using ultrawebgrid Version=7.1.20071.1050 and VS 2003 in clr 1.1. Anyway...
I'm using several ultrawebgrids already on a page and I only want them to update batch, not update after every row is added or modified. I've managed to do that. NOW I have to add another grid to a page and I want the same behavior but I can't seem to find how to keep it from doing a postback after every row is changed. I know this is simple but I somehow blocked on this.
Please help and thanks for your patience with some one out of the loop and behind the curve.
Hello.
To make the WebGrid perform batch updates, you simply handle one of the batch events, such as UpdateRowBatch, AddRowBatch, or DeleteRowBatch. There are no properties on the grid that tell what type of updates to do. Instead, you do this by handling events. If the batch events are handled, then the grid will not post back when you enter data into a row and then set focus to a different row. That would be the behavior if you handled the UpdateRow event instead.
With batch updates, some other control on the form has to intitiate a postback. Usually, most people use a button that says "Update", or "Accept Changes" or "Commit", or something else to that effect. However, any time the page posts back the various batch events will fire, regardless of the control that initiated it. The events fire once per row that is being updated, added, or deleted.
Please let me know if there is anything else I can do for you.