Hi,
I have a RadGrid with Template columns (textboxes and dropdowns). The grid is always displayed in an edit mode. As user tabs in between grid cells, I need to run code behind to do validation as well as default and disable some other cells within the row being tabbed. If the TemplateColumn is a textbox and I tab out of it I do get the TextChanged event...but how do I know which row I am in? I need the row so I can default and disable the remaining cells on that row only. I tried using the RadGrid1_ItemDataBound event but it doesnt get fired when you tab between table cells. Here are some code snippets:
I have a RadGrid with Template columns (textboxes and dropdowns). The grid is always displayed in an edit mode. As user tabs in between grid cells, I need to run code behind to do validation as well as default and disable some other cells within the row being tabbed. If the TemplateColumn is a textbox and I tab out of it I do get the TextChanged event...but how do I know which row I am in? I need the row so I can default and disable the remaining cells on that row only. I tried using the RadGrid1_ItemDataBound event but it doesnt get fired when you tab between table cells. Here are some code snippets:
protected void RadGrid1_ItemDataBound(object sender, GridItemEventArgs e)
{ // doesnt get called
}
protected void CategoryNameTextBox_TextChanged(object sender, EventArgs e)
{
// how can I get the row index here of the current cell?
}
Thanks, Mala