Thank you for contacting Telerik Support.
You can initialize the new row in RadGridView
by handling the DefaultValuesNeeded
event. This event fires after clicking the "add new row" link and before entering edit mode. It is normal to obtain index of the current row -1, because this new row is still not a part of the grid data because, you have not committed the new row yet. If you need to know on which index the new row will be probably inserted after pressing enter key, you may use:
sender, GridViewRowEventArgs e)
index = e.Row.Index;
I hope this information helps. Should you have further questions, I would be glad to help.
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WINFORMS.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>