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
245
Addnewrow and focus
posted

Hi. I have a problem with a GRID like "MsAccess database" style. On my GRID LAST row it's a "empty row" for new record (with * symbol) where a user can insert data in each cell. After row edit, only after set focus in another place a new row it's created and the edited row becomes selected (with > symbol).

This work fine if user need to add MORE rows, but with LAST row added my problem start.

My problem is when a user insert data on a  new row (or last row) and press a button (asp:button) for save inserted data (without set focus on another place of grid or click over another row):

UltraWebGrid automatically ADD A NEW ROW (in batch)  but NOT SAVE the row that user has insert data.

After POST BACK, the "added" modified row (or last row if multiple rows add/change) loses the data.

You can help me?

Thanks