Hello!
I have a radgrid and when I bind a dataset with 3 columns to it, when I submit the page and check the column count of the grid, it always come back as 1.
In the Grid_needdatasource I have the following code:
DataSet accounts = ExternalAccounts.getAllExternalAccounts(ExternalAccount.ConnectionString, query);
autoGeneratedGrid.DataSource = accounts;
and then when I submit the page I want to count the number of columns in the grid by doing this:
grid.Columns.Count
It always comes back as 1 even though I can see 3 columns! I am auto generating the columns.
What's going on?
Bex