Hi All,
How to retrieve the particular Cell values from RowEventArgs e Currently I am trying as below
e.Row.Cells["Model"].Text , but the value are coming always Null for me
what I am trying here is update row after the rowinsertion over from Ultra-Win-grid side , for which I have written code in AfterRowInsert event as below
private void ultraGridViewHardware_AfterRowInsert(object sender, Infragistics.Win.UltraWinGrid.RowEventArgs e)
{
if (e.Row.IsAddRow)//Check if you are in Add row of the grid
string model = e.Row.Cells["Model"].Text.Trim();
Here value coming always blank . where as if you check in debug mode the e.row--> listobject->dataview having with all values present .
please suggest me a way to retrieve the values that i have entered in New row in wingrid .
}
AfterRowInsert fires immediately after the new row is created. So the user has not yet had a change to enter any values in the row and thus they will always be set to their defaults, which is probably null.