I have a WebGrid with one editable cell (a drop down list). The grid is inside a WebASyncRefreshPanel. Under that I have a WebImageButton called "Close" which closes the page.
When the user adds a new row using the last row in the grid, they make a selection from the dropdown list. If they do not press TAB or mouse click elsewhere on the page the row will not be completed, even though they have selected an item from the dropdown. Pressing my Close button will then close the page without the row being added. This behaviour is undesirable, because from the user's point of view, they believe they have added the row.
Bizzarely if the WebGrid contains a text box for entry instead of a dropdown it works perfectly. So I suspect this is an Infragistics bug. Can anyone help me work around it? I've tried moving my Close button into the WebASyncRefreshPanel. Didn't help. I've tried writing client side script on the Close button to endEdit() the grid. Didn't help. Any other ideas?