i have used this line to get the row index in the textchanged event but i didnt get any value and this is the line
int i = ((GridDataItem)(((RadNumericTextBox)sender).NamingContainer)).ItemIndex;
how to get the row index in text changed event
1 Answer, 1 is accepted
0
Iana Tsolova
Telerik team
answered on 24 Feb 2011, 09:17 AM
Hello abinav,
Indeed, this is the proper approach for achieving your goal. However, can you specify if any error is thrown on this line and let me know where in the grid is the RadNumericTextBox placed - in ItemTemplate of a GridTemplateColumn, or in its EditItemTemplate or in a FormTemplate for instance?
Regards,
Iana
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!