Iam extracting data from a grid using the script below, however my problem is that my values (5 and 20) are false when the grid is grouped.
I have some specific columns which i want to extract, how should i do this instead ?
foreach (GridDataItem dataItem in RadGrid_Ingredient.SelectedItems)
dataItem.Selected = false;
tr = new HtmlTableRow();
for (int i = 5; i < 20; i++)
tc = new HtmlTableCell();
tc.InnerHtml = extractString(dataItem.Cells[i]);
1 Answer, 1 is accepted
answered on 31 Oct 2008, 09:09 AM
You may consider using column unique names instead of Cells collection indexing to reference the cells in question and extract values from them. Review the online resources below which elaborate on this subject: