I need to use a RadGridView, so I can assign the DataSource.
However, when I do the following code, i get zero rows and columns. What am I missing
List<Records> data = dbc.Records.ToList();RadGridView gv = new RadGridView();gv.BeginUpdate();gv.AutoGenerateColumns = true;gv.AutoGenerateHierarchy = true;gv.DataSource = data;gv.EndUpdate();
When I look at the gridview, after the datasource is set, the row count and column count are zero? Again, What I am doing wrong? The only thing that is different then what we are doing in our application, is the grid is not on a FORM.
Thanks
