My surrent grid is bound to a dataset. When an cell is updated a postback is done, the grid is refreshed and focus remains on the current line.
Is it possbile to have the grid be an enter only container? When a cell is updated it would still save to the grid, but the database update woudl not be done until later. Maybe at a button click of something.
I am thinking creating the grid using the follwoing code, instead of a datbind, woudl solve the problem but I am not sure.
intRow += 1
DuesGrid.Rows.Add(intRow.ToString())
row = DuesGrid.Rows.FromKey(intRow.ToString())
akobesbicc ,
You can use UpdateRowBatch event Triggerd by a button click.
http://help.infragistics.com/Help/NetAdvantage/NET/2008.1/CLR2.0/html/Infragistics2.WebUI.UltraWebGrid.v8.1~Infragistics.WebUI.UltraWebGrid.UltraWebGrid~UpdateRowBatch_EV.html
Patrick
Thats not what I needed to do. On each cell update I want the postback/refresh to be cancelled in the first place so the screen does not flicker.
"Unlike the UltraWebGrid.UpdateRow event, handling the UpdateRowBatch event does not immediately trigger a PostBack when a row has been updated on the client. This event will only be raised when a PostBack has been initiated from client-side code, or from a user action which causes PostBack, such as a button click. "
Are you using the event handler updatcell because this produces a postback.
I can't beleive this solved the issue! Thanks so much! I had the the UpdateCell in my code behind without any code in it and that was firing the postback! You saved me alot of time!!