Hi!
I have a question about editing a RadGrid item. We recently bought the AJAX controls, so I’m in the process of converting our old ASP DataGrids and GridViews over to the new RadGrids. A problem I’ve run into is for one of our grids where we don’t want to use the built-in edit row. We have an edit button, but we use a little pop-up that we define in a div below the grid that comes up over the greyed-out page to allow the user to the edit the data. Part of the code we use to populate the pop-up with the data is executed in the code-behind function that executes on the grid’s edit command, so I want to keep the “… Handles RadGrid1.EditCommand” function, but I don’t want the update and cancel buttons to be displayed. I need it to be in edit mode so I can find which row is being edited, but I don’t want it to stay in edit mode because I don’t want the user to have to click two different cancel buttons. I want them to be able to only use our pop-up’s save and cancel buttons. Is there a way that I can do that? I tried to add in some code in the code-behind page to execute when the cancel button is clicked, but I can’t figure out how to cancel the edit command from there. If anyone has any idea how I can cancel the edit command, I would really appreciate it. Thanks!
Holly