When I update my grid I look for Exceptions. If I find an exception the grid remains in edit mode. The problem is that when the Exception gets thrown, I handle it and the grid rebinds.
The textboxes then gets the original value.
So if the textbox have the text “Example text” and the user try to update the record with an empty string, an Exception gets thrown. Then the textbox once again has the text “Example text”.
So how do I prevent this? I would like to have the textbox showing the value the user put there.
Thanks
Kalle