I have an Update button that works fine. Two other buttons that I created from pasting those and renaming them fail to close the window.
Could it be the copying of the RadButtons?
I noticed that after I click the working Update button, the NeedDataSource method is called for the grid. After clicking either of the other 2 buttons, the NeedDataSource method is NOT called.
What could cause that?
I will use the method below:
But I'm interested in another way to solve this problem. I will probably delete the RadButtons and re-drag them onto the form from the toolbox.
ClearEditItems() followed by Rebind() worked.