This is a migrated thread and some comments may be shown as answers.

[Solved] iterate with foreach or for

0 Answers 73 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
guy
Top achievements
Rank 1
guy asked on 12 Dec 2010, 04:10 PM
hi
how can i iterate a radgridview rows
my need is to collapse all the lines that contain a input value
i tried somthing like this

foreach (RadRowItem _row in Grid.RowInEditMode.Item)

 

 

{

 

 

 

if (_row.Cells[ColumnIdentifier].Content.ToString() != SelectedValue){
 _row.Visibility = Visibility.Collapsed;

 

 

 

}

 

 

 

}

but the problem here is i can't iterate

 


 

Tags
GridView
Asked by
guy
Top achievements
Rank 1
Share this question
or