Im trying to make a radgrid work with edit mode in a webpart for MOSS 2007.
All the events fire as they should BUT I cant get the edited values in the event.
The controls property on the edit cells has a count = 0.
It works fine when I use the control in a normal aspx page.
The code is:
protected void radGrid_ItemCommand(object source, GridCommandEventArgs e)
GridEditFormItem gridInsert = (GridEditFormItem)e.Item;
string pNavn = ((TextBox)(gridInsert["Navn"].Controls)).Text;
The .Controls throw an "index out of range" because the cell holds no controls. The gridInsert["Navn"] does exist.