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

RadGrid.MasterTableView.Item.Count not zero but grid is empty

1 Answer 174 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Dimitrios
Top achievements
Rank 1
Dimitrios asked on 10 Sep 2014, 05:59 AM
In which cases the above situation is true?

I change a parameter of the SqlCommand which passes its data to the DataSouce of the grid and then I rebind.
I stop the code where I check the count of the items in the MasterTableView and I see that it's not zero.

I can even select the first row by...
RadGrid.MasterTableView.Items(0).Selected = True

...and I can see the data in the grid object, like
RadGrid.SelectedItems.Item(0).Cells(2).Text (contains the expected value)

But the grid on the screen remains empty.

Where should I look?

1 Answer, 1 is accepted

Sort by
0
Jayesh Goyani
Top achievements
Rank 2
answered on 10 Sep 2014, 06:09 PM
Hi Dimitrios,

can you please provide your code, where you have bind grid and access their items?

Thanks,
Jayesh Goyani

Tags
Grid
Asked by
Dimitrios
Top achievements
Rank 1
Answers by
Jayesh Goyani
Top achievements
Rank 2
Share this question
or