Is there a way to access the "Click here to add new row" in runtime? i want to add a command button for a new record. in the click event, I want to set focus the in the "Click here to add new row" as if the user clicked it manually.?
2 Answers, 1 is accepted
answered on 04 May 2012, 10:39 AM
You can access the new row by getting the TableAddNewRow object from the MasterView of RadGridView:
In order to achieve your scenario, you should first make the new row current by setting the CurrentRow of RadGridView to the new row object. Then, most probably, you would want to put RadGridView in edit mode, so the complete code snippet for your case is: