I am not quite sure that I understand whether you want or not the button "Click here to edit" to appear in the new row. With the current solution it will appear and the user can click the button to show the user control (see attached video). You just need to take the solution from the KB article, change the references to the latest ones and to avoid row doubling, use the code that I provided in my previous post.
If you do not want to show the custom cell in the new row, remove the check for GridViewNewRowInfo from the CreateCell event handler.
To show the user control when the new row is clicked, you can should make the button in the CustomCell public (so we can access it) and use the MouseDown event of the control to perform a click:
sender, MouseEventArgs e)
RadElement clickedElement = radGridView1.ElementTree.GetElementAtPoint(e.Location);
GridCellElement && ((GridCellElement)clickedElement).RowInfo
GridViewNewRowInfo) || clickedElement
CustomCell cell = (CustomCell)radGridView1.TableElement.GetCellElement(radGridView1.MasterView.TableAddNewRow, radGridView1.Columns[
As to the delete column, I am not sure how it should look like. You can add GridViewCommandColumn
and use it to delete the row.
About the button, it can be easily achieved again with a command column. The subject discussed in this thread is about the custom row that pops up when the drop down button is clicked. If you have questions other that does not concern the initial topic of a certain thread, please address them in a corresponding thread, or if such is missing in a new thread.
Attached is a modified version of the KB, where the discussed changes are applied.
I hope this helps.
the Telerik team