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

How to determine where a radgridview has 0 row?The radgridview doesn't has rows.count property ?

1 Answer 43 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.
PEIYANG
Top achievements
Rank 1
PEIYANG asked on 08 Jul 2012, 10:56 AM
How to determine where a radgridview has 0 row?The radgridview doesn't has rows.count  property ?

1 Answer, 1 is accepted

Sort by
0
Ali Rafiee
Top achievements
Rank 1
answered on 08 Jul 2012, 02:14 PM
It depends on how you are populating the GridView. 

If you are adding items to it manually then check RadGridView.Items.Count.
If you are using databinding then check the number of items in your collection that you are binding to it.
Tags
GridView
Asked by
PEIYANG
Top achievements
Rank 1
Answers by
Ali Rafiee
Top achievements
Rank 1
Share this question
or